aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/spellcheck-options-15.c
blob: 089e698b601f15f08af8b7e36d238938cae011de (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 } */