Import pre-release gcc-5.0 to new vendor branch
[dragonfly.git] / contrib / gcc-5.0 / 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 }