llvm-6502/test/Transforms/FunctionResolve/retmismatch3.ll
2003-09-16 15:29:54 +00:00

13 lines
156 B
LLVM

; RUN: llvm-as < %s | opt -funcresolve
declare int %read(...)
long %read() {
ret long 0
}
int %testfunc() {
%X = call int(...)* %read()
ret int %X
}