14 lines
140 B
C++
Raw Normal View History

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