aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-12-11 07:46:25 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-12-11 07:46:25 +0000
commit49134400ef5b3dcda9482eaba32dc5acaa1b4e4f (patch)
tree9e144965e825ad7d96aa5d2a086db9eb86f4bcc2
parent0bda476066124a32156a37252d1d0c127c5a15be (diff)
downloadgcc-49134400ef5b3dcda9482eaba32dc5acaa1b4e4f.zip
gcc-49134400ef5b3dcda9482eaba32dc5acaa1b4e4f.tar.gz
gcc-49134400ef5b3dcda9482eaba32dc5acaa1b4e4f.tar.bz2
* gcc.dg/cpp/if-2.c: Separate tests so that which failed is obvious.
From-SVN: r38187
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/cpp/if-2.c8
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index de2e47a..58817ad 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.dg/cpp/if-2.c b/gcc/testsuite/gcc.dg/cpp/if-2.c
index 60e8ffd..2832c46 100644
--- a/gcc/testsuite/gcc.dg/cpp/if-2.c
+++ b/gcc/testsuite/gcc.dg/cpp/if-2.c
@@ -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" } */