☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
pr45985.c
☽
☼
gcc/testsuite/gcc.dg/tm/pr45985.c
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm" } */
3
4
__attribute__((transaction_unsafe))
5
void illegal();
6
7
static int a = 0;
8
void func()
9
{
10
__transaction_relaxed {
11
if( a == 0)
12
illegal();
13
}
14
}