New testcase for infinite loop that the raise pass is getting into
[oota-llvm.git] / test / Transforms / FunctionResolve / retmismatch3.ll
1 ; RUN: as < %s | opt -funcresolve
2
3 declare int %read(...)
4
5 long %read() {
6   ret long 0
7 }
8
9 int %testfunc() {
10         %X = call int(...)* %read()
11         ret int %X
12 }