Commit e9d7407e by Richard Henderson Committed by Richard Henderson

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

From-SVN: r47784
parent 7814a308
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
......
......@@ -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" } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment