llvm-6502/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll
2003-09-16 15:29:54 +00:00

13 lines
183 B
LLVM

; RUN: llvm-as < %s | opt -globaldce
;
%X = global void() * %func
implementation
internal void %func() { ; Not dead, can be reachable via X
ret void
}
void %main() {
ret void
}