1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/Regression/Transforms/FunctionResolve/retmismatch3.ll

13 lines
156 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | opt -funcresolve
declare int %read(...)
2002-07-30 02:49:42 +02:00
long %read() {
ret long 0
}
int %testfunc() {
%X = call int(...)* %read()
ret int %X
}