blob: 8a3a25bfed7ebfddb2b5d85f69546274236d97c3 [file] [log] [blame]
/* { dg-do compile } */
/* Reject arguments to attributes that do not accept any. */
__attribute__ ((target ("general-regs-only=+crc")))
int
foo (int a)
{
return a + 1;
}
/* { dg-error "does not accept an argument" "" { target *-*-* } 0 } */
/* { dg-error "is not valid" "" { target *-*-* } 0 } */