1  /* Test #warning not in C11.  */
       2  /* { dg-do preprocess } */
       3  /* { dg-options "-std=c11 -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 } */