1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/test/Regression/Transforms/GlobalDCE/2002-07-17-CastRef.ll
Chris Lattner e9894ca2e7 New testcase
llvm-svn: 2956
2002-07-18 04:25:11 +00:00

13 lines
184 B
LLVM

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