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