New testcase that crashes the funcresolve pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6272 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-05-21 20:44:16 +00:00
parent dbe48dcaec
commit 62a4b839a6

View File

@ -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
}