summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/FunctionResolve/basictest.ll
blob: 422b655420b091dfbe829bc8ea60f8509766fc73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: if as < %s | opt -funcresolve -instcombine | 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
}
OpenPOWER on IntegriCloud