Files
llvm/clang/test/CodeGen/vfprintf.c
Eli Friedman 4f678f3de1 Fix for PR5709: use the computed type of the declaration instead of the
type of the builtin when generating the function declaration for a builtin
library call.

llvm-svn: 90936
2009-12-09 03:05:59 +00:00

9 lines
195 B
C

// RUN: clang-cc -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);
}