llvm-6502/test/Transforms/FunctionResolve/retmismatch3.ll
2002-07-30 00:34:52 +00:00

13 lines
189 B
LLVM

; RUN: as < %s | opt -funcresolve
declare int %read(...)
long %read(int %fildes, sbyte* %buf, ulong %nbyte) {
ret long 0
}
int %testfunc() {
%X = call int(...)* %read()
ret int %X
}