This testcase is independant of varargsness
authorChris Lattner <sabre@nondot.org>
Tue, 30 Jul 2002 22:24:07 +0000 (22:24 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 30 Jul 2002 22:24:07 +0000 (22:24 +0000)
Simplify.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3174 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2002-07-30-VarArgsCallFailure.c

index dfe9d63c1b24483584d32b207ee93cfb1e4d7722..cdce478adc74d22368f54f76bdc98e3ae2207181 100644 (file)
@@ -1,6 +1,6 @@
-#include <stdio.h>
 int tcount;
+void test(char *, const char*, int);
 void foo() {
        char Buf[10];
-       sprintf(Buf, "n%%%d", tcount++);
+       test(Buf, "n%%%d", tcount++);
 }