1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o /dev/null 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc int tcount; 4*f4a2713aSLionel Sambuc void test(char *, const char*, int); foo()5*f4a2713aSLionel Sambucvoid foo() { 6*f4a2713aSLionel Sambuc char Buf[10]; 7*f4a2713aSLionel Sambuc test(Buf, "n%%%d", tcount++); 8*f4a2713aSLionel Sambuc } 9