summaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionResolve/2003-05-21-MissingArguments.ll
blob: 48b5d4690c0f5c5cf61c9b759c9e2cf5e39705f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | opt -funcresolve -disable-output

void %foo(int, int) {
  ret void
}
declare void %foo(...)

void %test() {
	call void(...)* %foo(int 7)
	ret void
}