diff options
Diffstat (limited to 'clang/test/PCH/va_arg.h')
-rw-r--r-- | clang/test/PCH/va_arg.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/PCH/va_arg.h b/clang/test/PCH/va_arg.h new file mode 100644 index 0000000..4a8e510 --- /dev/null +++ b/clang/test/PCH/va_arg.h @@ -0,0 +1,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)); +} |