Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / compat / struct-return-20_main.c
blob7f928ba82af8a2d50bffc5908060e61b1d0d075f
1 /* Test function return values. Tested structs end with double. This
2 was written in response to a layout change for such structs for
3 powerpc64-linux that breaks compatibility between 3.3 and 3.4. */
5 extern void struct_return_20_x (void);
6 extern void exit (int);
7 int fails;
9 int
10 main ()
12 struct_return_20_x ();
13 exit (0);