summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/spellcheck-options-15.c
blob: c1903345d0acf13f51aa0371901de49d0bcc8c03 (plain)
1
2
3
4
5
6
7
/* Verify that we don't offer -fsanitize=all as a suggestion for misspelled
   sanitizer options (PR driver/78877).  */

/* { dg-do compile } */
/* { dg-options "-fsanitize=al" } */
/* { dg-bogus "did you mean" "" { target *-*-* } 0 } */
/* { dg-error "unrecognized argument to '-fsanitize=' option: 'al'" "" { target *-*-* } 0 } */