blob: 1d6ebbdafdcaa944884d815a92cef5936eb26927 [file] [log] [blame]
/* Test #warning not in C11. */
/* { dg-do preprocess } */
/* { dg-options "-std=gnu11 -pedantic-errors" } */
#warning example text /* { dg-warning "example text" } */
/* { dg-error "'#warning' before C23 is a GCC extension" "pedantic" { target *-*-* } .-1 } */