aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionResolve/basictest.ll
blob: 7e9468713297f021912f5876cd06ad32a65cc17d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | grep '\.\.\.' | not grep call

declare int %foo(...)

int %foo(int %x, float %y) {
	ret int %x
}

int %bar() {
	%x = call int(...)* %foo(double 12.5, int 48)
	ret int %x
}