diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/static_assert6.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/static_assert6.C | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/static_assert6.C b/gcc/testsuite/g++.dg/cpp0x/static_assert6.C new file mode 100644 index 00000000000..d1ab0dded9d --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/static_assert6.C @@ -0,0 +1,4 @@ +// PR c++/51397 +// { dg-options "-std=c++0x" } + +static_assert('X' != '\130', "'X' has the wrong value"); // { dg-error "'X' has the wrong value" } |