mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 01:50:38 +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();
|
||
|
}
|
||
|
}
|