diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp2a/constexpr-init6.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp2a/constexpr-init6.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp2a/constexpr-init6.C b/gcc/testsuite/g++.dg/cpp2a/constexpr-init6.C index a2994f5272c..a1634aab031 100644 --- a/gcc/testsuite/g++.dg/cpp2a/constexpr-init6.C +++ b/gcc/testsuite/g++.dg/cpp2a/constexpr-init6.C @@ -1,5 +1,5 @@ // PR c++/91353 - P1331R2: Allow trivial default init in constexpr contexts. -// { dg-do compile { target c++2a } } +// { dg-do compile { target c++20 } } /* We used to get the "constexpr constructor for union S::<unnamed union> must initialize exactly one non-static data member" error, but not anymore |