aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionResolve/basictest.ll
blob: c21142d45302a3635c57c7ae1856e8c4615add86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: if as < %s | opt -funcresolve | dis | grep '\.\.\.' | grep call
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi

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
}