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

9 lines
164 B
C
Raw Normal View History

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