llvm-6502/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll
2008-03-01 09:15:35 +00:00

14 lines
232 B
LLVM

; 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
}