Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
pr45985.c
blob: c811840677628b3c0099c2db1c5a4ffc2d34845f [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fgnu-tm" } */
__attribute__
((
transaction_unsafe
))
void
illegal
();
static
int
a
=
0
;
void
func
()
{
__transaction_relaxed
{
if
(
a
==
0
)
illegal
();
}
}