PR tree-optimization/81627
[official-gcc.git] / gcc / testsuite / gcc.dg / pragma-diag-6.c
blob6ce76d9e49bd180d3150b61bc824c12fa1267e19
1 /* { dg-do compile } */
2 #pragma GCC diagnostic error "-Wnoexcept" /* { dg-warning "is valid for C../ObjC.. but not for C" } */
3 #pragma GCC diagnostic error "-fstrict-aliasing" /* { dg-warning "not an option that controls warnings" } */
4 #pragma GCC diagnostic error "-Werror" /* { dg-warning "not an option that controls warnings" } */
5 int i;