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

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

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