1 // RUN: %clang_cc1 -fsyntax-only -verify -triple=x86_64-unknown-freebsd7.0 %s
2 // expected-no-diagnostics
5 char* foo(char *fmt
, __builtin_va_list ap
)
7 return __builtin_va_arg((ap
), char *);
11 typedef __builtin_va_list
va_list;
12 static void f (char * (*g
) (char **, int), char **p
, ...) {
15 s
= g (p
, __builtin_va_arg(v
, int));