2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / testsuite / gcc.target / alpha / pr42448-2.c
blobaeebad2809b4507e0d2696197be0e7611c65264d
1 /* { dg-do run } */
2 /* { dg-options "-mcpu=21064 -O0" } */
4 extern void abort (void);
6 struct S2180
8 char t;
9 _Complex char u[4];
12 struct S2180 s2180;
14 int
15 main (void)
17 volatile struct S2180 x;
19 s2180.u[3] = 3 + 4i;
21 x.u[3] = s2180.u[3];
23 if (x.u[3] != s2180.u[3])
24 abort ();
26 return 0;