view gcc/testsuite/gcc.dg/compat/scalar-by-value-2_main.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* 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);
}