diff --git a/test/CFrontend/2002-07-30-VarArgsCallFailure.c b/test/CFrontend/2002-07-30-VarArgsCallFailure.c new file mode 100644 index 00000000000..dfe9d63c1b2 --- /dev/null +++ b/test/CFrontend/2002-07-30-VarArgsCallFailure.c @@ -0,0 +1,6 @@ +#include +int tcount; +void foo() { + char Buf[10]; + sprintf(Buf, "n%%%d", tcount++); +}