gcc/testsuite/gcc.dg/spellcheck-options-5.c
raw| 1 | /* Verify that we provide suggestions (with arguments) for the "-fno-" |
| 2 | variant of "-fsanitize=" when it is misspelled (PR driver/69265). */ |
| 3 | |
| 4 | /* { dg-do compile } */ |
| 5 | /* { dg-options "-no-sanitize=all" } */ |
| 6 | /* { dg-error "unrecognized command-line option '-no-sanitize=all'; did you mean '-fno-sanitize=all'?" "" { target *-*-* } 0 } */ |