blob: 15b68c9899793a070627a8f184b616b1673664f3 [file] [log] [blame]
; RUN: opt < %s -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
}