view 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
line wrap: on
line source

/* 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 } */