aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/spellcheck-options-16.c
blob: 701957650f1a7d2ea934f660ad1b46d992fc8ac6 (plain)
1
2
3
4
5
6
7
8
9
/* Verify that we don't offer non-recoverable options as suggestions
   for misspelled -fsanitize-recover= arguments (PR driver/78877).  */

/* { dg-do compile } */
/* { dg-options "-fsanitize-recover=threed" } */
/* Ensure we don't offer non-recoverable "-fsanitize-recover=thread"
   as a suggestion.  */
/* { dg-bogus "did you mean" "" { target *-*-* } 0 } */
/* { dg-error "unrecognized argument to -fsanitize-recover= option: .threed." "" { target *-*-* } 0 } */