PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / nest-stdar-1.c
blob492670b5a1e729c5a2d32f98049ff6708120fc2a
1 #include <stdarg.h>
3 main ()
5 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);