OSDN Git Service

2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / compat / scalar-by-value-2_main.c
1 /* Test passing scalars by value.  This test includes scalar types that
2    are not supported by va_arg; since they require casts to pass to a
3    function with a variable argument list, testing them with variable
4    arguments is not interesting.  */
5
6 extern void scalar_by_value_2_x (void);
7 extern void exit (int);
8 int fails;
9
10 int
11 main ()
12 {
13   scalar_by_value_2_x ();
14   exit (0);
15 }