PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 930713-1.c
blob6b4d5ab796afa2b692be01918b894d2ee3d7642d
1 typedef struct
3 char x;
4 } T;
7 f (s1)
8 T s1;
10 T s1a;
11 s1a.x = 17;
12 return s1a;
15 main ()
17 T s1a, s1b;
18 s1a.x = 13;
19 s1b = f (s1a);
20 if (s1a.x != 13 || s1b.x != 17)
21 abort ();
22 exit (0);