From: Chris Lattner Date: Wed, 21 May 2003 20:44:16 +0000 (+0000) Subject: New testcase that crashes the funcresolve pass. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=62a4b839a6a3689e4406da0c4351faae6696bf89;p=oota-llvm.git New testcase that crashes the funcresolve pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6272 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/FunctionResolve/2003-05-21-MissingArguments.ll b/test/Transforms/FunctionResolve/2003-05-21-MissingArguments.ll new file mode 100644 index 00000000000..cfbc76c0d12 --- /dev/null +++ b/test/Transforms/FunctionResolve/2003-05-21-MissingArguments.ll @@ -0,0 +1,11 @@ +; RUN: as < %s | opt -funcresolve -disable-output + +void %foo(int, int) { + ret void +} +declare void %foo(...) + +void %test() { + call void(...)* %foo(int 7) + ret void +}