OSDN Git Service

* gcc.dg/compat/fnptr-by-value-1_x.c, scalar-by-value-1_y.c
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / compat / struct-by-value-20_main.c
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. */
6
7 extern void struct_by_value_20_x (void);
8 extern void exit (int);
9 int fails;
10
11 int
12 main ()
13 {
14   struct_by_value_20_x ();
15   exit (0);
16 }