gcc/libitm/testsuite/libitm.c++/throwdown.C

14 lines
140 B
C

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