☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
libitm
/
testsuite
/
libitm.c++
/
eh-2.C
☽
☼
libitm/testsuite/libitm.c++/eh-2.C
code
plain
raw
1
// A handler can involve a transaction-safety conversion.
2
// { dg-do run }
3
// { dg-options "-fgnu-tm" }
4
5
void g() transaction_safe {}
6
int main()
7
{
8
try { throw g; }
9
catch (void (*p)()) { }
10
}