Sign in
gnu
/
gcc
/
0b6b70a0733672600644c8df96942cda5bf86d3d
/
.
/
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 } */