Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
pr53008.c
blob: 1374d76faff9482bfa25af359d1ac0edf0fb6fbd [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -O" } */
void
__attribute__
((
transaction_safe
))
(*
fn
)(
void
);
static
void
__attribute__
((
transaction_safe
))
foo
(
void
)
{
}
void
set_fn
(
void
)
{
fn
=
foo
;
}