Replace absolute line numbers in gcc.target/aarch64
[platform/upstream/gcc.git] / gcc / testsuite / gcc.target / aarch64 / spellcheck_1.c
1 /* { dg-do compile } */
2
3 __attribute__((target ("arch=armv8-a-typo"))) void
4 foo ()
5 {
6   /* { dg-message "valid arguments are: \[^\n\r]*; did you mean 'armv8-a'?"  "" { target *-*-* } .-1 } */
7   /* { dg-error "unknown value 'armv8-a-typo' for 'arch' target attribute"  "" { target *-*-* } .-2 } */
8   /* { dg-error "target attribute 'arch=armv8-a-typo' is invalid"  "" { target *-*-* } .-3 } */
9 }