diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp23')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp23/wchar-multi1.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp23/wchar-multi1.C b/gcc/testsuite/g++.dg/cpp23/wchar-multi1.C index d86dfc9..0e3fb2f 100644 --- a/gcc/testsuite/g++.dg/cpp23/wchar-multi1.C +++ b/gcc/testsuite/g++.dg/cpp23/wchar-multi1.C @@ -1,6 +1,7 @@ // P2362R3 - Remove non-encodable wide character literals and multicharacter // wide character literals. // { dg-do compile } +// { dg-require-effective-target 4byte_wchar_t } char a = 'a'; int b = 'ab'; // { dg-warning "multi-character character constant" } |