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

14 lines
140 B
C++
Raw Normal View History

2012-03-27 23:13:14 +00:00
// { dg-do compile }
#include <libitm.h>
static void throwit() {
throw 1;
}
void tranfunc() {
__transaction_atomic {
throwit();
}
}