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

13 lines
189 B
LLVM

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