Retro68/gcc/libitm/testsuite/libitm.c++/throwdown.C
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

14 lines
140 B
C

// { dg-do compile }
#include <libitm.h>
static void throwit() {
throw 1;
}
void tranfunc() {
__transaction_atomic {
throwit();
}
}