gcc/libitm/testsuite/libitm.c++/throwdown.C
Aldy Hernandez 0a35513e4e Merge from transactional-memory branch.
From-SVN: r181154
2011-11-08 11:13:41 +00:00

14 lines
140 B
C

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