aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/struct-by-value-4_main.c
blob: 22b92d7ac18889863b1b495d7b2cef66381b388d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Test structures passed by value, including to a function with a
   variable-length argument list.  Each struct contains an array
   of small structs:  1, 2, 4, 8, and 12 bytes for LP64.  */ 

extern void struct_by_value_4_x (void);
extern void exit (int);

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