(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
cpp/
c2x-warning-2.c
       1  /* Test #warning in C2x: -Wc11-c2x-comapt.  */
       2  /* { dg-do preprocess } */
       3  /* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
       4  
       5  #warning example text /* { dg-warning "example text" } */
       6  /* { dg-warning "#warning before C2X is a GCC extension" "compat" { target *-*-* } .-1 } */