2002-07-30-VarArgsCallFailure.c   [plain text]


// 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++);
}