PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / spellcheck-options-16.c
blob701957650f1a7d2ea934f660ad1b46d992fc8ac6
1 /* Verify that we don't offer non-recoverable options as suggestions
2 for misspelled -fsanitize-recover= arguments (PR driver/78877). */
4 /* { dg-do compile } */
5 /* { dg-options "-fsanitize-recover=threed" } */
6 /* Ensure we don't offer non-recoverable "-fsanitize-recover=thread"
7 as a suggestion. */
8 /* { dg-bogus "did you mean" "" { target *-*-* } 0 } */
9 /* { dg-error "unrecognized argument to -fsanitize-recover= option: .threed." "" { target *-*-* } 0 } */