diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/constexpr-condition.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/constexpr-condition.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-condition.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-condition.C index 388a73488e7..733d494c4d7 100644 --- a/gcc/testsuite/g++.dg/cpp0x/constexpr-condition.C +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-condition.C @@ -5,5 +5,5 @@ constexpr int something() { return 3; } int main() { if (constexpr long v = something()) {} - if (static long v = something()) { } // { dg-error "decl-specifier invalid" } + if (static long v = something()) { } // { dg-error "'decl-specifier' invalid" } } |