gcc/testsuite/gcc.dg/spellcheck-options-12.c
raw| 1 | /* Verify that we don't include -Wno- variants for options marked |
| 2 | with RejectNegative when considering hints for misspelled options |
| 3 | (PR driver/71651). */ |
| 4 | |
| 5 | /* { dg-do compile } */ |
| 6 | /* { dg-options "-fno-stack-protector-explicit" } */ |
| 7 | /* { dg-error "unrecognized command-line option .-fno-stack-protector-explicit.; did you mean .-fstack-protector-explicit.." "" { target *-*-* } 0 } */ |