summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/union-return-1_main.c
blob: edf15166b957d639c2ff824dec462d8ae2c73d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Test function return values.  This was written when correcting
   a deviation from the ABI on SPARC64 between 3.3 and 3.4.  */

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

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