blob: 492670b5a1e729c5a2d32f98049ff6708120fc2a [file] [log] [blame]
#include <stdarg.h>
main ()
{
double f (int x, ...)
{
va_list args;
double a;
va_start (args, x);
a = va_arg (args, double);
va_end (args);
return a;
}
if (f (1, (double)1) != 1.0)
abort ();
exit (0);
}