[AArch64] Add spellchecking hints for -march,-mcpu,-mtune and their attributes
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / spellcheck_6.c
blob8fa491b0ca4beae6c13aa90de84235495d8a9c33
1 /* { dg-do compile } */
2 /* { dg-skip-if "" { *-*-* } { "-mtune=*" } { "" } } */
3 /* { dg-options "-mtune=cortex-a72-typo" } */
5 void
6 foo ()
10 /* { dg-error "unknown value 'cortex-a72-typo' for -mtune" "" { target *-*-* } 0 } */
11 /* { dg-message "valid arguments are: \[^\n\r]*; did you mean 'cortex-a72'?" "" { target *-*-* } 0 } */