mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 05:10:25 +08:00
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.
This commit is contained in:
parent
0d5d880994
commit
c3cb34c632
@ -1,3 +1,8 @@
|
||||
2020-05-13 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* lib/target-supports.exp (check_effective_target_c++20_only)
|
||||
(check_effective_target_c++20): New.
|
||||
|
||||
2020-05-13 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR testsuite/95110
|
||||
|
@ -9134,6 +9134,14 @@ proc check_effective_target_c++2a { } {
|
||||
return [check_effective_target_c++2a_only]
|
||||
}
|
||||
|
||||
proc check_effective_target_c++20_only { } {
|
||||
return [check_effective_target_c++2a_only]
|
||||
}
|
||||
|
||||
proc check_effective_target_c++20 { } {
|
||||
return [check_effective_target_c++2a]
|
||||
}
|
||||
|
||||
# Check for C++ Concepts support, i.e. -fconcepts flag.
|
||||
proc check_effective_target_concepts { } {
|
||||
if [check_effective_target_c++2a] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user