aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2002-07-30-VarArgsCallFailure.c
blob: 7a01304c59c0eb0b25509388e43c8353651608a6 (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(void) {
  char Buf[10];
  test(Buf, "n%%%d", tcount++);
}