1 // Header for PCH test va_arg.c 2 3 typedef __builtin_va_list va_list; f(char * (* g)(char **,int),char ** p,...)4char *f (char * (*g) (char **, int), char **p, ...) { 5 char *s; 6 va_list v; 7 s = g (p, __builtin_va_arg(v, int)); 8 } 9 10 typedef __builtin_ms_va_list __ms_va_list; h(char * (* i)(char **,int),char ** p,...)11char *__attribute__((ms_abi)) h(char *(*i)(char **, int), char **p, ...) { 12 char *s; 13 __ms_va_list v; 14 s = i(p, __builtin_va_arg(v, int)); 15 } 16