summaryrefslogtreecommitdiff
path: root/clang/test/PCH/va_arg.h
blob: 4a8e5102bc6d4233a8715b9972ee650f952daa5a (about) (plain)
1
2
3
4
5
6
7
8
// Header for PCH test va_arg.c

typedef __builtin_va_list va_list;
char *f (char * (*g) (char **, int), char **p, ...) {
    char *s;
    va_list v;
    s = g (p, __builtin_va_arg(v, int));
}