* gcc.dg/cpp/if-2.c: Add wide char test without sign extension.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Thu, 11 Jan 2001 07:53:41 +0000 (07:53 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 11 Jan 2001 07:53:41 +0000 (07:53 +0000)
From-SVN: r38896

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/if-2.c

index f359cb7dd920c66d8da8590161f7187bf9f874d8..e73fd5c21838be2568d785b63c8543832fdb02f6 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-11  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * gcc.dg/cpp/if-2.c: Add wide char test without sign extension.
+
 2001-01-10  Alan Lehotsky  <lehotsky@tiac.net>
 
        * gcc.dg/20000926-1.c: Parameterize for machines with 16-bit ints.
index 2832c4646afa0cd67caf9eea4f5564f2cfee81ea..4b9d28821adb223cc205119cd62a564452a48d6a 100644 (file)
 #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