blob: 353b74fca294c3426a6494eb95374ef4777622b0 [file] [log] [blame]
Misha Brukmane78760e2003-09-16 15:29:54 +00001; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep foo
Chris Lattnera99d4f22003-07-23 22:02:39 +00002
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
7declare int %foo(...)
8declare int %foo(int)
9
10