From: Neil Booth Date: Thu, 11 Jan 2001 07:53:41 +0000 (+0000) Subject: * gcc.dg/cpp/if-2.c: Add wide char test without sign extension. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7d7b65139fe65d825e0cc25c4741b6d01753371;p=gcc.git * gcc.dg/cpp/if-2.c: Add wide char test without sign extension. From-SVN: r38896 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f359cb7dd92..e73fd5c2183 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-01-11 Neil Booth + + * gcc.dg/cpp/if-2.c: Add wide char test without sign extension. + 2001-01-10 Alan Lehotsky * gcc.dg/20000926-1.c: Parameterize for machines with 16-bit ints. diff --git a/gcc/testsuite/gcc.dg/cpp/if-2.c b/gcc/testsuite/gcc.dg/cpp/if-2.c index 2832c4646af..4b9d28821ad 100644 --- a/gcc/testsuite/gcc.dg/cpp/if-2.c +++ b/gcc/testsuite/gcc.dg/cpp/if-2.c @@ -13,6 +13,10 @@ #error 0xfeed /* { dg-bogus "error" "wide charconst recognition 2" } */ #endif +#if L'\x1234' != 0x1234 +#error 0xfeed /* { dg-bogus "error" "wide charconst recognition 2" } */ +#endif + #if 'abcd' /* { dg-warning "multi-character character constant" "multi-character charconst" } */ #endif