diff options
Diffstat (limited to 'clang/test/CodeGen/vfprintf.c')
-rw-r--r-- | clang/test/CodeGen/vfprintf.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CodeGen/vfprintf.c b/clang/test/CodeGen/vfprintf.c new file mode 100644 index 0000000..7c583b5 --- /dev/null +++ b/clang/test/CodeGen/vfprintf.c @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -emit-llvm-only %s + +typedef struct _IO_FILE FILE; +int vfprintf(FILE*restrict,const char*restrict, __builtin_va_list); +void foo(__builtin_va_list ap) { + vfprintf(0, " ", ap); +} + |