aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/spellcheck-options-12.c
blob: 9fbd944bcafd37ad850a27e93c732ae7c92c3a21 (plain)
1
2
3
4
5
6
7
/* Verify that we don't include -Wno- variants for options marked
   with RejectNegative when considering hints for misspelled options
   (PR driver/71651).  */

/* { dg-do compile } */
/* { dg-options "-fno-stack-protector-explicit" } */
/* { dg-error "unrecognized command-line option .-fno-stack-protector-explicit.; did you mean .-fstack-protector-explicit.." "" { target *-*-* } 0 } */