New testcase for case that simplifycfg should catch
[oota-llvm.git] / test / Transforms / FunctionResolve / 2002-11-09-ExternFn.ll
1 ;
2 ; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | not grep '\.\.\.'
3
4 declare int %foo(...)
5 declare int %foo(int)
6
7 void %bar() {
8         call int(...)* %foo(int 7)
9         ret void
10 }