testsuite: Allow matching `{_1, { 0,0,0,0 }}` for vect/slp-gap-1.c
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 980205.c
blob486a94b3a47481f9b8348368a749b1b7ec97c914
1 #include <stdarg.h>
3 void abort (void);
4 void exit (int);
6 void fdouble (double one, ...)
8 double value;
9 va_list ap;
11 va_start (ap, one);
12 value = va_arg (ap, double);
13 va_end (ap);
15 if (one != 1.0 || value != 2.0)
16 abort ();
19 int main ()
21 fdouble (1.0, 2.0);
22 exit (0);