aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/utf32-4.c
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2008-05-06 02:59:12 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2008-05-06 02:59:12 +0000
commitab1cde2399826caa3373eb981bad8b5cdbb57ee5 (patch)
tree672c6b5d84da75b05931884b93791362772bdc97 /gcc/testsuite/gcc.dg/utf32-4.c
parent0d07fcad0836b13aaa6141258c533bcc3a4e521e (diff)
downloadgcc-ab1cde2399826caa3373eb981bad8b5cdbb57ee5.zip
gcc-ab1cde2399826caa3373eb981bad8b5cdbb57ee5.tar.gz
gcc-ab1cde2399826caa3373eb981bad8b5cdbb57ee5.tar.bz2
target_supports.exp (check_effective_target_4byte_wchar_t): New proc.
* lib/target_supports.exp (check_effective_target_4byte_wchar_t): New proc. * gcc.dg/utf16-4.c: Use it. * gcc.dg/utf32-4.c: Use it. * g++.dg/ext/utf16-4.C: Use it. * gcc.dg/ext/utf32-4.C: Use it. From-SVN: r134971
Diffstat (limited to 'gcc/testsuite/gcc.dg/utf32-4.c')
-rw-r--r--gcc/testsuite/gcc.dg/utf32-4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/utf32-4.c b/gcc/testsuite/gcc.dg/utf32-4.c
index dd05a9a..48d84fd 100644
--- a/gcc/testsuite/gcc.dg/utf32-4.c
+++ b/gcc/testsuite/gcc.dg/utf32-4.c
@@ -15,6 +15,6 @@ char32_t c5 = u'\u2029';
char32_t c6 = u'\U00064321'; /* { dg-warning "constant too long" } */
char32_t c7 = L'a';
char32_t c8 = L'\u2029';
-char32_t c9 = L'\U00064321';
+char32_t c9 = L'\U00064321'; /* { dg-warning "constant too long" { target { ! 4byte_wchar_t } } } */
int main () {}