Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / compat / struct-complex-1_x.c
blobc77ba33580fcdd833cc78c4fc6ac2598937eb641
1 /* { dg-options "-O" } */
3 #ifdef __x86_64__
4 #include "struct-complex-1.h"
6 struct st st1;
7 struct stc st2;
9 extern void foo ();
10 extern void bar ();
12 int
13 struct_complex_1_x ()
15 st1.s1 = 1;
16 st1.s2 = 2;
17 __real__ st1.x = 2;
18 __imag__ st1.x = 4;
19 st2.s1 = 1;
20 st2.s2 = 2;
21 st2.x.r = 2;
22 st2.x.i = 4;
23 foo (st1);
24 foo (st2);
25 bar (st1);
26 bar (st2);
27 return 0;
29 #else
30 int dummy_x;
31 #endif