aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/FunctionResolve/2003-07-23-CPR-Reference.ll
blob: b9d561a7ef43737d1193021d1af04ab1a19d397a (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: as < %s | opt -funcresolve | dis | not grep foo

; The funcresolve pass was resolving the two foo's together in this test,
; adding a ConstantPointerRef to one of them.  Then because of this
; reference, it wasn't able to delete the dead declaration. :(

declare int %foo(...)
declare int %foo(int)