* gcc.dg/cpp/ucs.c: Adjust expected warning for 64-bit hosts.

From-SVN: r47784
This commit is contained in:
Richard Henderson 2001-12-07 17:51:04 -08:00 committed by Richard Henderson
parent 7814a308e4
commit e9d7407e3a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-12-07 Richard Henderson <rth@redhat.com>
* gcc.dg/cpp/ucs.c: Adjust expected warning for 64-bit hosts.
2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
* gcc.dg/sparc-ret.c: New file, test return corruption bug for

View File

@ -22,7 +22,9 @@ void foo ()
c = L"\U1234"[0]; /* { dg-error "incomplete" "incompete UCN 2" } */
c = L'\u000x'; /* { dg-error "non-hex" "non-hex digit in UCN" } */
/* { dg-warning "too long" "" { target *-*-* } 24 } */
/* If sizeof(HOST_WIDE_INT) > sizeof(wchar_t), we can get a multi-character
constant warning even for wide characters. */
/* { dg-warning "too long|multi-character" "" { target *-*-* } 24 } */
c = '\u0024'; /* { dg-bogus "invalid" "0024 is a valid UCN" } */
c = "\u0040"[0]; /* { dg-bogus "invalid" "0040 is a valid UCN" } */