diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-30 22:24:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-30 22:24:07 +0000 |
commit | aff78984db67e8abc106c3bc6d59444fff1ba697 (patch) | |
tree | 877c846cb3e2ed429880e1930472fd15186b841b /test/CFrontend | |
parent | 358fc38d3b93cd264f0e9ea823c1d581c77be1f9 (diff) | |
download | external_llvm-aff78984db67e8abc106c3bc6d59444fff1ba697.zip external_llvm-aff78984db67e8abc106c3bc6d59444fff1ba697.tar.gz external_llvm-aff78984db67e8abc106c3bc6d59444fff1ba697.tar.bz2 |
This testcase is independant of varargsness
Simplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2002-07-30-VarArgsCallFailure.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CFrontend/2002-07-30-VarArgsCallFailure.c b/test/CFrontend/2002-07-30-VarArgsCallFailure.c index dfe9d63..cdce478 100644 --- a/test/CFrontend/2002-07-30-VarArgsCallFailure.c +++ b/test/CFrontend/2002-07-30-VarArgsCallFailure.c @@ -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++); } |