blob: b9d561a7ef43737d1193021d1af04ab1a19d397a [file] [log] [blame]
Chris Lattnera99d4f22003-07-23 22:02:39 +00001; RUN: as < %s | opt -funcresolve | 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
7declare int %foo(...)
8declare int %foo(int)
9
10