xref: /llvm-project/clang/test/CodeGen/2002-07-30-VarArgsCallFailure.c (revision 1ea584377e7897f7df5302ed9cd378d17be14fbf)
1 // RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
2 
3 int tcount;
4 void test(char *, const char*, int);
foo(void)5 void foo(void) {
6   char Buf[10];
7   test(Buf, "n%%%d", tcount++);
8 }
9