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