summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/spellcheck-options-5.c
blob: 097faf0bce139c2ee7d8ed3e0cda75cb7132d2d6 (plain)
1
2
3
4
5
6
/* Verify that we provide suggestions (with arguments) for the "-fno-"
   variant of "-fsanitize=" when it is misspelled (PR driver/69265).  */

/* { dg-do compile } */
/* { dg-options "-no-sanitize=all" } */
/* { dg-error "unrecognized command-line option '-no-sanitize=all'; did you mean '-fno-sanitize=all'?"  "" { target *-*-* } 0 } */