gcc/testsuite/gcc.dg/spellcheck-options-8.c
raw| 1 | /* Verify that we include -Wno- variants when considering hints |
| 2 | for misspelled options (PR driver/69453). */ |
| 3 | |
| 4 | /* { dg-do compile } */ |
| 5 | /* { dg-options "--Wno-narrowing" } */ |
| 6 | /* { dg-error "unrecognized command-line option '--Wno-narrowing'; did you mean '-Wno-narrowing'?" "" { target *-*-* } 0 } */ |