YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/2002-07-30-VarArgsCallFailure.c

9 lines
160 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
int tcount;
void test(char *, const char*, int);
void foo() {
char Buf[10];
test(Buf, "n%%%d", tcount++);
}