1 // { dg-do assemble  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3 
4 #include <stdarg.h>
5 #include <stdio.h>
6 
f(int i,...)7 void f (int i, ...)
8 {
9   va_list ap;
10 
11   va_start (ap, i);
12   vprintf ("test", ap);
13   va_end (ap);
14 }
15