1 /* { dg-do compile } */
2
3 /* Reject arguments to attributes that do not accept any. */
4
5 __attribute__ ((target ("general-regs-only=+crc")))
6 int
7 foo (int a)
8 {
9 return a + 1;
10 }
11
12 /* { dg-error "does not accept an argument" "" { target *-*-* } 0 } */
13 /* { dg-error "is not valid" "" { target *-*-* } 0 } */