(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pragma-diag-6.c
       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  #pragma GCC diagnostic error "-Wvla2" /* { dg-warning "unknown option after '#pragma GCC diagnostic' kind" } */
       6  /* { dg-message "did you mean '-Wvla'" "" { target *-*-* } .-1 } */
       7  #pragma GCC diagnostic error "-Walla" /* { dg-warning "unknown option after '#pragma GCC diagnostic' kind" } */
       8  /* { dg-message "did you mean '-Wall'" "" { target *-*-* } .-1 } */
       9  #pragma GCC diagnostic warning "-Walla" /* { dg-warning "unknown option after '#pragma GCC diagnostic' kind" } */
      10  /* { dg-message "did you mean '-Wall'" "" { target *-*-* } .-1 } */
      11  int i;