c++: constantness of call to function pointer [PR111703]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp / warning-1.C
blob2d857cf747c9012889172af6a3b8110a186c9dec
1 // P2437R1 - Support for #warning
2 // { dg-do preprocess }
3 // { dg-options "-pedantic-errors" }
5 #warning example text /* { dg-warning "example text" } */
6 // { dg-error "#warning before C\\\+\\\+23 is a GCC extension" "pedantic" { target c++20_down } .-1 }