llvm-project/llvm/test/FrontendC/2002-07-30-VarArgsCallFailu...

9 lines
164 B
C

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