repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2017-07-21 Yury Gribov <tetra2005@gmail.com>
[official-gcc.git]
/
libitm
/
testsuite
/
libitm.c++
/
eh-2.C
blob
156121142e782a8c8635e35529372be9f04761bf
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
}