diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg.C index c8bdb28384b..0f68643f145 100644 --- a/gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg.C +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg.C @@ -1,6 +1,6 @@ // Example from issue 1125 drafting; D() and v were well-formed with the // wording approved in Rapperswil, now seems they should be ill-formed. -// { dg-options "-std=c++11 -pedantic-errors" } +// { dg-do compile { target c++11 } } struct B { constexpr B(int x) : i(0) { } // "x" is unused |