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