Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr96802-1.c
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 } */