gcc/testsuite/gcc.dg/spellcheck-options-15.c
raw| 1 | /* Verify that we don't offer -fsanitize=all as a suggestion for misspelled |
| 2 | sanitizer options (PR driver/78877). */ |
| 3 | |
| 4 | /* { dg-do compile } */ |
| 5 | /* { dg-options "-fsanitize=al" } */ |
| 6 | /* { dg-bogus "did you mean" "" { target *-*-* } 0 } */ |
| 7 | /* { dg-error "unrecognized argument to '-fsanitize=' option: 'al'" "" { target *-*-* } 0 } */ |