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

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