blob: e6ceb95d23849c94cf2a2a878a627f11f1457f23 [file] [log] [blame]
/* { dg-do compile } */
/* Reject the negated form of non-negatable attributes. */
__attribute__ ((target ("no-general-regs-only")))
int
foo (int a)
{
return a + 1;
}
/* { dg-error "does not allow a negated form" "" { target *-*-* } 0 } */