llvm-6502/test/Transforms/FunctionResolve/retmismatch3.ll
2006-12-02 04:23:10 +00:00

13 lines
171 B
LLVM

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