summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/struct-by-value-3_main.c
blob: 0b720689531c2bc1ccc29375ac9b2a32e0e7d010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Test structures passed by value, including to a function with a
   variable-length argument list.  All struct members are scalar
   integral types, and the structs are "small": 1, 2, 4, 8, and 12
   bytes for LP64.  */

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

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