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

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