]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/tm/atomic-2.c
Merge from transactional-memory branch.
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / tm / atomic-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm" } */
3
4 int g;
5 void f(void)
6 {
7 __transaction_atomic {
8 g++;
9 }
10 }