1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/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
}