[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / PCH / va_arg.h
blob255c6589a7e8563eaff8650524dc10511f44f971
1 // Header for PCH test va_arg.c
3 typedef __builtin_va_list va_list;
4 char *f (char * (*g) (char **, int), char **p, ...) {
5 char *s;
6 va_list v;
7 s = g (p, __builtin_va_arg(v, int));
10 typedef __builtin_ms_va_list __ms_va_list;
11 char *__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));