blob: 8bb6da55b9afe6b08ce005e8f34ff97e9fde2e62 [file] [log] [blame]
; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce
;
%X = global void() * %func
implementation
internal void %func() { ; Not dead, can be reachable via X
ret void
}
void %main() {
ret void
}