FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / nest-stdar-1.c
blob2c6108b52e60abcf7ea35ca9b360aeee36db6ee6
1 #include <stdarg.h>
3 main ()
5 static double f (int x, ...)
7 va_list args;
8 double a;
10 va_start (args, x);
11 a = va_arg (args, double);
12 va_end (args);
13 return a;
16 if (f (1, (double)1) != 1.0)
17 abort ();
18 exit (0);