]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/spellcheck-options-14.c
3cd38ce289044cfdc3a5c24d1433a03f9cf97f24
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / spellcheck-options-14.c
1 /* Verify that we offer suggestions for misspelled sanitizer options
2 (PR driver/78877). */
3
4 /* { dg-do compile } */
5 /* { dg-options "-fsanitize=addres,nul,this-is-not-a-sanitizer-option" } */
6 /* { dg-error "unrecognized argument to '-fsanitize=' option: 'addres'; did you mean 'address'" "" { target *-*-* } 0 } */
7 /* { dg-error "unrecognized argument to '-fsanitize=' option: 'nul'; did you mean 'null'" "" { target *-*-* } 0 } */
8 /* { dg-error "unrecognized argument to '-fsanitize=' option: 'this-is-not-a-sanitizer-option'" "" { target *-*-* } 0 } */