From: David Edelsohn Date: Wed, 27 Dec 2023 00:44:34 +0000 (+0000) Subject: testsuite: 32 bit AIX 2 byte wchar X-Git-Tag: basepoints/gcc-15~3296 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2d47aa70ee4e72f7095a9f166cb45fc043f75cc;p=thirdparty%2Fgcc.git testsuite: 32 bit AIX 2 byte wchar 32 bit AIX supports 2 byte wchar. The wchar-multi1.C testcase assumes 4 byte wchar. Update the testcase to require 4 byte wchar. gcc/testsuite/ChangeLog: * g++.dg/cpp23/wchar-multi1.C: Require 4 byte wchar_t. Signed-off-by: David Edelsohn --- diff --git a/gcc/testsuite/g++.dg/cpp23/wchar-multi1.C b/gcc/testsuite/g++.dg/cpp23/wchar-multi1.C index d86dfc917906..0e3fb2f3726d 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" }