diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/constexpr-template3.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/constexpr-template3.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-template3.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-template3.C index 75b2fc4634..f0ac2224af 100644 --- a/gcc/testsuite/g++.dg/cpp0x/constexpr-template3.C +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-template3.C @@ -1,4 +1,4 @@ -// { dg-options -std=c++0x } +// { dg-do compile { target c++11 } } struct A { constexpr operator int() { return 42; } }; |