annotate gcc/testsuite/gcc.dg/spellcheck-options-16.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Verify that we don't offer non-recoverable options as suggestions
kono
parents:
diff changeset
2 for misspelled -fsanitize-recover= arguments (PR driver/78877). */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 /* { dg-do compile } */
kono
parents:
diff changeset
5 /* { dg-options "-fsanitize-recover=threed" } */
kono
parents:
diff changeset
6 /* Ensure we don't offer non-recoverable "-fsanitize-recover=thread"
kono
parents:
diff changeset
7 as a suggestion. */
kono
parents:
diff changeset
8 /* { dg-bogus "did you mean" "" { target *-*-* } 0 } */
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
9 /* { dg-error "unrecognized argument to '-fsanitize-recover=' option: 'threed'" "" { target *-*-* } 0 } */