Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / spellcheck-options-1.c
blob275f86c178d64401dde28ddbcde30cb4f7c1f809
1 /* Verify that we provide a hint if the user misspells an option argument
2 (PR middle-end/77475). */
4 /* { dg-do compile } */
5 /* { dg-options "-march=hasvel" } */
6 /* { dg-error "bad value .'hasvel'. for '-march=' switch" "" { target *-*-* } 0 } */
7 /* { dg-message "valid arguments to '-march=' switch are: \[^\n\r]*; did you mean 'haswell'?" "" { target *-*-* } 0 } */