blob: 740f7201a348aefb768a6f876886dffb7011e4ad [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
}