1 /* Copyright (C) 2001 Free Software Foundation, Inc.  */
2 
3 /* { dg-do preprocess } */
4 
5 /* Tests that excess tokens in skipped conditional blocks don't warn.  */
6 
7 /* Source: Neil Booth, 25 Jul 2001.  */
8 
9 #if 0
10 #if foo
11 #else foo   /* { dg-bogus "extra tokens" "extra tokens in skipped block" } */
12 #endif foo  /* { dg-bogus "extra tokens" "extra tokens in skipped block" } */
13 #endif bar  /* { dg-error "extra tokens" "tokens after #endif" } */
14 
15