* gcc.dg/cpp/if-2.c: Adjust for signed wchar_t.

From-SVN: r39116
This commit is contained in:
Alexandre Oliva 2001-01-18 12:00:38 +00:00
parent 028d1f20f7
commit 34508ae824
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2001-01-18 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/cpp/if-2.c: Adjust for signed wchar_t.
2001-01-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/unify8.C: New test.
@ -31,6 +35,7 @@
* gcc.c-torture/compile/20010117-1.c: New test.
* gcc.c-torture/compile/20010117-2.c: New test.
>>>>>>> 1.1023
2001-01-15 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20010116.[fx]: New test,

View File

@ -9,11 +9,9 @@
#error L'a' /* { dg-bogus "error" "wide charconst recognition 1" } */
#endif
#if 0 /* This test doesn't work on targets with signed 16-bit wchar_t. */
#if L'\xfeed' != 0xfeed
#if L'\xfeed' != 0xfeed && L'\xfeed' != (0xfeed - 0x10000)
#error 0xfeed /* { dg-bogus "error" "wide charconst recognition 2" } */
#endif
#endif
#if L'\x1234' != 0x1234
#error 0x1234 /* { dg-bogus "error" "wide charconst recognition 3" } */