summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/struct-return-3_main.c
blob: 83f0d119a534ae9144c17ecaf5300dafe4c7f2c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Test function return values.  For this test, all struct members are
   scalar integral types and the structs are "small": 1, 2, 4, 8, and 12
   bytes for LP64.  */

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

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