PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / data-2.c
blob3e2a604bfb31366f5b110ee5ce0f4273b5dc3fa0
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm" } */
3 /* Test read and write on all basic types. */
5 struct S
7 int x[10];
8 };
10 static struct S g;
12 extern void fill (struct S *);
14 void f(void)
16 struct S l;
17 fill(&l);
19 __transaction_atomic {
20 g = l;