[testsuite] Fix directives order
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / target_attr_12.c
blob8a3a25bfed7ebfddb2b5d85f69546274236d97c3
1 /* { dg-do compile } */
3 /* Reject arguments to attributes that do not accept any. */
5 __attribute__ ((target ("general-regs-only=+crc")))
6 int
7 foo (int a)
9 return a + 1;
12 /* { dg-error "does not accept an argument" "" { target *-*-* } 0 } */
13 /* { dg-error "is not valid" "" { target *-*-* } 0 } */