]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tm/20100609.c
Merge from transactional-memory branch.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tm / 20100609.c
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O" } */
3
4 extern void funcNoReturn() __attribute__ ((__noreturn__));
5
6 int later;
7
8 void MyFunc()
9 {
10 __transaction_relaxed {
11 funcNoReturn();
12 later=8;
13 }
14 }