]>
Commit | Line | Data |
---|---|---|
094a609c | 1 | /* Test #warning in C23: -Wc11-c2x-comapt. */ |
d7c30001 JM |
2 | /* { dg-do preprocess } */ |
3 | /* { dg-options "-std=gnu2x -pedantic-errors -Wc11-c2x-compat" } */ | |
4 | ||
5 | #warning example text /* { dg-warning "example text" } */ | |
094a609c | 6 | /* { dg-warning "#warning before C23 is a GCC extension" "compat" { target *-*-* } .-1 } */ |