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

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