Misha Brukman | e78760e | 2003-09-16 15:29:54 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep foo |
Chris Lattner | a99d4f2 | 2003-07-23 22:02:39 +0000 | [diff] [blame] | 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 |