diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2023-12-27 00:44:34 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2023-12-27 00:44:34 +0000 |
commit | f2d47aa70ee4e72f7095a9f166cb45fc043f75cc (patch) | |
tree | 751bc60eee2d319d0a221c1a860e24c527c90e1f /gcc | |
parent | 5b7f5e6261e9d0317b34663136f1e3bd33dca3d9 (diff) | |
download | gcc-f2d47aa70ee4e72f7095a9f166cb45fc043f75cc.zip gcc-f2d47aa70ee4e72f7095a9f166cb45fc043f75cc.tar.gz gcc-f2d47aa70ee4e72f7095a9f166cb45fc043f75cc.tar.bz2 |
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 <dje.gcc@gmail.com>
Diffstat (limited to 'gcc')
-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" } |