Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / alpha / pr42448-1.c
blob4e2c376e39dc782130702346520451175a8c44d3
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[2];
12 struct S2180 s2180;
14 int
15 main (void)
17 volatile struct S2180 x;
19 s2180.u[1] = 3 + 4i;
21 x.u[1] = s2180.u[1];
23 if (x.u[1] != s2180.u[1])
24 abort ();
26 return 0;