☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
pr53008.c
☽
☼
gcc/testsuite/gcc.dg/tm/pr53008.c
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm -O" } */
3
4
void __attribute__((transaction_safe)) (*fn)(void);
5
6
static void __attribute__((transaction_safe))
7
foo(void)
8
{
9
}
10
11
void set_fn(void)
12
{
13
fn = foo;
14
}