llvm-mirror/test/CFrontend/2002-07-30-VarArgsCallFailure.c
2007-01-17 07:59:14 +00:00

9 lines
167 B
C

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