Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / compat / struct-complex-1_y.c
blob858e6a9da8b4dbdcfba5666179d8650e3468d10a
1 /* { dg-options "-O -Wno-psabi" } */
3 #ifdef __x86_64__
4 #include <stdlib.h>
5 #include "struct-complex-1.h"
7 void
8 bar(struct st x)
10 if (x.s1 != 1 || x.s2 != 2
11 || __real__ x.x != 2 || __imag__ x.x != 4)
12 abort ();
15 void
16 foo(struct stc x)
18 if (x.s1 != 1 || x.s2 != 2 || x.x.r != 2 || x.x.i != 4)
19 abort ();
21 #else
22 int dummy_y;
23 #endif