mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-09-07 14:32:07 +00:00
14 lines
140 B
C++
14 lines
140 B
C++
// { dg-do compile }
|
|
|
|
#include <libitm.h>
|
|
|
|
static void throwit() {
|
|
throw 1;
|
|
}
|
|
|
|
void tranfunc() {
|
|
__transaction_atomic {
|
|
throwit();
|
|
}
|
|
}
|