testsuite: Support { target c++20 } in tests.
authorJason Merrill <jason@redhat.com>
Wed, 13 May 2020 19:15:13 +0000 (15:15 -0400)
committerJason Merrill <jason@redhat.com>
Wed, 13 May 2020 19:16:49 +0000 (15:16 -0400)
commitc3cb34c632222093718fc55f45dde68e97abf9dc
tree6b85ad3f34f0828bcbbb666c7f6534ebe954f956
parent0d5d880994660e231f82b7cb1dcfab744158f7e0
testsuite: Support { target c++20 } in tests.

I'm not sure why I didn't check this in along with adding -std=c++20, since
I wrote this patch at the same time.  The testsuite should support both
{ target c++2a } and { target c++20 }.

gcc/testsuite/ChangeLog
2020-05-13  Jason Merrill  <jason@redhat.com>

* lib/target-supports.exp (check_effective_target_c++20_only)
(check_effective_target_c++20): New.
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp