1  /* Copyright (C) 2002 Free Software Foundation, Inc.  */
       2  
       3  /* { dg-do preprocess } */
       4  /* { dg-options "-pedantic -Wno-endif-labels" } */
       5  
       6  /* Tests combinations of -pedantic and -Wno-endif-labels; see extratokens2.c
       7     for more general tests.  */
       8  
       9  /* Source: Phil Edwards, 25 Mar 2002.  Copied from extratokens2.c and
      10     modified.  */
      11  
      12  #if 1 
      13  #if 0
      14  #else foo	/* { dg-bogus "extra tokens" "bad warning" } */
      15  #endif /	/* { dg-bogus "extra tokens" "bad warning" } */
      16  #endif
      17