For PR411:
[oota-llvm.git] / test / Transforms / FunctionResolve / 2003-07-23-CPR-Reference.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -funcresolve | llvm-dis | not grep foo
2
3 ; The funcresolve pass was resolving the two foo's together in this test,
4 ; adding a ConstantPointerRef to one of them.  Then because of this
5 ; reference, it wasn't able to delete the dead declaration. :(
6
7 declare int %foo(...)
8 declare int %foo(int)
9
10