diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp1z/utf8-neg.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1z/utf8-neg.C | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/cpp1z/utf8-neg.C b/gcc/testsuite/g++.dg/cpp1z/utf8-neg.C index cb9f7b5..0a94f1a 100644 --- a/gcc/testsuite/g++.dg/cpp1z/utf8-neg.C +++ b/gcc/testsuite/g++.dg/cpp1z/utf8-neg.C @@ -1,5 +1,4 @@ -/* { dg-do compile } */ -/* { dg-options "-std=c++17" } */ +/* { dg-do compile { target c++17 } } */ const static char c0 = u8''; // { dg-error "empty character" } const static char c1 = u8'ab'; // { dg-warning "multi-character character constant" } |