New testcase for infinite loop that the raise pass is getting into
[oota-llvm.git] / test / Transforms / FunctionResolve / basictest.ll
1 ; RUN: if as < %s | opt -funcresolve | dis | grep '\.\.\.' | grep call
2 ; RUN: then exit 1
3 ; RUN: else exit 0
4 ; RUN: fi
5
6 declare int %foo(...)
7
8 int %foo(int %x, float %y) {
9         ret int %x
10 }
11
12 int %bar() {
13         %x = call int(...)* %foo(double 12.5, int 48)
14         ret int %x
15 }