1 ; RUN: llvm-upgrade < %s | llvm-as | opt -funcresolve | llvm-dis | not grep foo
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. :(