OSDN Git Service

PR c++/26036
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / expr / stdarg1.C
1 // PR c++/23840
2
3 #include <stdarg.h>
4 struct S 
5 {
6   int f(int);
7 };
8 void f(int i, ...) 
9 {
10   va_list ap;
11   va_start (ap, i);
12   va_arg (ap, S).f(0);
13 }