1 /* Malformed assertion tests. */
2 /* { dg-do preprocess } */
3 /* { dg-options "-fno-show-column" } */
5 #assert /* { dg-error "without predicate" "assert w/o predicate" } */
6 #assert % /* { dg-error "an identifier" "assert punctuation" } */
7 #assert 12 /* { dg-error "an identifier" "assert number" } */
8 #assert abc /* { dg-error "missing" "assert w/o answer" } */
10 #if # /* { dg-error "without predicate" "test w/o predicate" } */
13 #if #% /* { dg-error "an identifier" "test punctuation" } */
16 #if #12 /* { dg-error "an identifier" "test number" } */
20 #error /* { dg-bogus "error" "test w/o answer" } */
23 #if #abc[def] /* { dg-error "is not valid" "test with malformed answer" } */