1 // { dg-do compile { target c++11 } } 2 // { dg-options "-fgnu-tm" } 3 4 int foo(void)5 foo (void) 6 { 7 return __transaction_atomic noexcept(false) (false); 8 } 9 10 int bar(int i)11 bar (int i) 12 { 13 return __transaction_atomic noexcept(false) (i); 14 } 15