summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/scalar-by-value-2_main.c
blob: 8426b789434ecde3bb921f4c02a90ebff7d2064f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Test passing scalars by value.  This test includes scalar types that
   are not supported by va_arg; since they require casts to pass to a
   function with a variable argument list, testing them with variable
   arguments is not interesting.  */

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

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