summaryrefslogtreecommitdiffstats
path: root/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll
blob: a79f6738f1907e5c307ca225a033ceaa4fb74b05 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | opt -globaldce
;
define internal void @func() {
        ret void
}

define void @main() {
        %X = bitcast void ()* @func to i32*             ; <i32*> [#uses=0]
        ret void
}

OpenPOWER on IntegriCloud