summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/struct-return-20_main.c
blob: 7f928ba82af8a2d50bffc5908060e61b1d0d075f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Test function return values.  Tested structs end with double.  This
   was written in response to a layout change for such structs for
   powerpc64-linux that breaks compatibility between 3.3 and 3.4.  */

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

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