blob: 7eba412751395fc35e8f215b71b131872ec9095a [file] [log] [blame]
/* Verify that we provide a hint if the user misspells an option argument
(PR middle-end/77475). */
/* { dg-do compile } */
__attribute__((target ("arch=hasvel"))) void foo (void) {} /* { dg-error "bad value .'hasvel'. for 'target..arch=..' attribute" } */
/* { dg-message "valid arguments to 'target..arch=..' attribute are: \[^\n\r]*; did you mean 'haswell'?" "" { target *-*-* } .-1 } */