* expmed.c (flip_storage_order): Deal with complex modes specially.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr60017.c
blobd72c12c8a1c07cf5f4680c64076e9e286ce0e2e6
1 /* PR target/60017 */
3 extern void abort (void);
5 struct S0
7 short m0;
8 short m1;
9 };
11 struct S1
13 unsigned m0:1;
14 char m1[2][2];
15 struct S0 m2[2];
18 struct S1 x = { 1, {{2, 3}, {4, 5}}, {{6, 7}, {8, 9}} };
20 struct S1 func (void)
22 return x;
25 int main (void)
27 struct S1 ret = func ();
29 if (ret.m2[1].m1 != 9)
30 abort ();
32 return 0;