llvm-6502/test/Transforms/FunctionResolve/2003-05-21-MissingArguments.ll
2006-12-02 04:23:10 +00:00

12 lines
186 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -funcresolve -disable-output
void %foo(int, int) {
ret void
}
declare void %foo(...)
void %test() {
call void(...)* %foo(int 7)
ret void
}