New testcase to see if -indvars can promote pointer arithmetic to array accesses
[oota-llvm.git] / test / Transforms / FunctionResolve / 2003-05-31-InternalDecl.ll
1 ; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | grep declare
2
3 declare void %test(...)
4
5 int %callee() {
6   call void(...)* %test(int 5)
7   ret int 2
8 }
9
10 internal void %test(int) {
11   ret void
12 }