New testcase that crashes the funcresolve pass.

llvm-svn: 6272
diff --git a/llvm/test/Regression/Transforms/FunctionResolve/2003-05-21-MissingArguments.ll b/llvm/test/Regression/Transforms/FunctionResolve/2003-05-21-MissingArguments.ll
new file mode 100644
index 0000000..cfbc76c
--- /dev/null
+++ b/llvm/test/Regression/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
+}