1  /* Test for some basic aspects of -traditional directive processing.  */
       2  
       3  /* { dg-do preprocess } */
       4  
       5  #define HASH #
       6  HASH
       7  
       8  /* There is a #error directive.  */
       9  
      10  #error bad	/* { dg-error "bad" } */
      11  
      12  /* Directives with their #s indented are not recognized.  */
      13   #if 0	/* { dg-bogus "unterminated" } */
      14  
      15  #wrong	/* { dg-error "-:invalid" } */
      16  
      17  #define foo 2
      18  #define bar + 3
      19  #define foobar 6
      20  
      21  #if foo/**/bar != 5
      22  # error Comments in directive is a separator /* { dg-bogus "error" } */
      23  #endif