Chris Lattner | a99d4f2 | 2003-07-23 22:02:39 +0000 | [diff] [blame^] | 1 | ; 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 | |||||
7 | declare int %foo(...) | ||||
8 | declare int %foo(int) | ||||
9 | |||||
10 |