gcc/testsuite/gcc.target/aarch64/spellcheck_2.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | __attribute__((target ("cpu=cortex-a57-typo"))) void |
| 4 | foo () |
| 5 | { |
| 6 | /* { dg-message "valid arguments are: \[^\n\r]*; did you mean 'cortex-a57'?" "" { target *-*-* } .-1 } */ |
| 7 | /* { dg-error "invalid name 'cortex-a57-typo' in 'target\\(\"cpu=\"\\)' pragma or attribute" "" { target *-*-* } .-2 } */ |
| 8 | /* { dg-error "pragma or attribute 'target\\(\"cpu=cortex-a57-typo\"\\)' is not valid" "" { target *-*-* } .-3 } */ |
| 9 | } |