1 /* { dg-do preprocess } */
2 /* { dg-options "-pedantic -Wall" } */
4 /* You can't get away with this in your own code... */
7 #endif KERNEL /* { dg-warning "extra tokens" "good warning" } */
9 /* This will provoke a warning because the '3' is an extension. */
10 #line 10 "endif-label.c" 3 /* { dg-warning "extra tokens" "#line extension" } */
12 /* ... but in a system header, it's acceptable. */
15 #endif KERNEL /* { dg-bogus "extra tokens" "bad warning" } */