Merge from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / tm / pr60004.C
blobb8c2c0e032b11cc26d1de143b481e9aab4720b88
1 // { dg-do compile }
2 // { dg-options "-fgnu-tm" }
4 int a;
5 int f() {
6     __transaction_atomic {
7         if (a == 5)
8             return 1;
9     }