New testcase to see if -indvars can promote pointer arithmetic to array accesses
[oota-llvm.git] / test / Transforms / FunctionResolve / retmismatch3.ll
1 ; RUN: llvm-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 }