2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / compat / struct-by-value-20_main.c
blob64c8f27aebb123ab89e1ff29f551a4b6aba37a86
1 /* Test structures passed by value, including to a function with a
2 variable-length argument list. Tested structs end with double.
3 This test was written in response to a layout change for such
4 structs for powerpc64-linux that breaks compatibility between
5 3.3 and 3.4. */
7 extern void struct_by_value_20_x (void);
8 extern void exit (int);
9 int fails;
11 int
12 main ()
14 struct_by_value_20_x ();
15 exit (0);