summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2002-07-30-VarArgsCallFailure.c
blob: 784305d6d3b6feacb1701642f53fd31c1743de8d (about) (plain)
1
2
3
4
5
6
7
8
// 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++);
}