llvm.org GIT mirror llvm / release_26 test / Transforms / GlobalDCE / 2002-07-17-ConstantRef.ll
release_26

Tree @release_26 (Download .tar.gz)

2002-07-17-ConstantRef.ll @release_26raw · history · blame

; RUN: llvm-as < %s | opt -globaldce
;

@X = global void ()* @func              ; <void ()**> [#uses=0]

; Not dead, can be reachable via X
define internal void @func() {
        ret void
}

define void @main() {
        ret void
}