1 2 3 4 5 6 7 8 9
/* { dg-do compile } */ int g; void f(void) { __transaction_atomic { /* { dg-error "without transactional memory" } */ g++; } }