2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 980205.c
blobda15d3c4dd7408a830e23d9612e6525d020a6ef9
1 #include <stdarg.h>
3 void fdouble (double one, ...)
5 double value;
6 va_list ap;
8 va_start (ap, one);
9 value = va_arg (ap, double);
10 va_end (ap);
12 if (one != 1.0 || value != 2.0)
13 abort ();
16 int main ()
18 fdouble (1.0, 2.0);
19 exit (0);