summaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionResolve/retmismatch3.ll
blob: d85da646d4f67b1db26cce90ad1c3f914dc75745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as < %s | opt -funcresolve

declare int %read(...)

long %read() {
  ret long 0
}

int %testfunc() {
	%X = call int(...)* %read()
	ret int %X
}