]> git.ipfire.org Git - thirdparty/gcc.git/blob - libitm/testsuite/libitm.c++/throwdown.C
Merge from transactional-memory branch.
[thirdparty/gcc.git] / libitm / testsuite / libitm.c++ / throwdown.C
1 // { dg-do compile }
2
3 #include <libitm.h>
4
5 static void throwit() {
6 throw 1;
7 }
8
9 void tranfunc() {
10 __transaction_atomic {
11 throwit();
12 }
13 }