blob: a3df438206b7a41e0a48db350f63109d763b2e6c [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 } */
/* { dg-error "is not valid" "" { target *-*-* } 0 } */