* gcc.dg/cpp/if-2.c: Separate tests so that which failed is obvious.
authorNeil Booth <neilb@earthling.net>
Mon, 11 Dec 2000 07:46:25 +0000 (07:46 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Mon, 11 Dec 2000 07:46:25 +0000 (07:46 +0000)
From-SVN: r38187

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

index de2e47ad6c2d28332a66400884539a1ee025fc67..58817ad7c82729f1a1617d9fd82e6e4deb973326 100644 (file)
@@ -1,3 +1,7 @@
+2000-12-11  Neil Booth  <neilb@earthling.net>
+
+        * gcc.dg/cpp/if-2.c: Separate tests so that which failed is obvious.
+
 2000-12-09  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * gcc.dg/format-miss-2.c: New test.
index 60e8ffd22dcd7af7c819c13dbc358c9ef2cd67c5..2832c4646afa0cd67caf9eea4f5564f2cfee81ea 100644 (file)
@@ -5,8 +5,12 @@
 #error a,1,0x12 /* { dg-bogus "#error" "basic charconst recognition" } */
 #endif
 
-#if 'a' != L'a' || L'\xfeed' != 0xfeed
-#error L'a',0xfeed /* { dg-bogus "#error" "wide charconst recognition" } */
+#if 'a' != L'a'
+#error L'a'    /* { dg-bogus "error" "wide charconst recognition 1" } */
+#endif
+
+#if L'\xfeed' != 0xfeed
+#error 0xfeed  /* { dg-bogus "error" "wide charconst recognition 2" } */
 #endif
 
 #if 'abcd' /* { dg-warning "multi-character character constant" "multi-character charconst" } */