* gcc.dg/cpp/if-2.c: Separate tests so that which failed is obvious.

From-SVN: r38187
This commit is contained in:
Neil Booth 2000-12-11 07:46:25 +00:00 committed by Neil Booth
parent 0bda476066
commit 49134400ef
2 changed files with 10 additions and 2 deletions

View 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.

View 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" } */