aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/compat/struct-return-19_main.c
blob: 65d8365ee135ffba215c702ac1949783c56abfa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Test function return values.  Struct members are char, int, double,
   and other structs containing these types.  This test was written in
   response to a layout change for such structs for powerpc64-linux,
   but this test only checks similar structs that are not affected by
   that break in compatibility. */

extern void struct_return_19_x (void);
extern void exit (int);
int fails;

int
main ()
{
  struct_return_19_x ();
  exit (0);
}