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