☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
tm
/
pr60004.C
☽
☼
gcc/testsuite/g++.dg/tm/pr60004.C
code
plain
raw
1
// { dg-do compile }
2
// { dg-options "-fgnu-tm" }
3
4
int a;
5
int f() {
6
__transaction_atomic {
7
if (a == 5)
8
return 1;
9
}
10
} // { dg-warning "control reaches end of non-void function" }