(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
cpp/
cxxcom1.c
       1  /* { dg-do preprocess } */
       2  /* { dg-options "-pedantic -std=gnu89" } */
       3  
       4  /* You can't do this in your own code... */
       5  // C++ comment is not in C89  { dg-warning "style comment|reported only once" "good warning" }
       6  
       7  /* ...but we don't bitch about it more than once.  */
       8  // C++ comment is not in C89  { dg-bogus "style comment" "bad warning" }
       9  
      10  /* { dg-final { scan-file-not cxxcom1.i "is not in C89" } } */
      11