1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

New testcase

llvm-svn: 2956
This commit is contained in:
Chris Lattner 2002-07-18 04:25:11 +00:00
parent e25d9fb4d5
commit e9894ca2e7

View File

@ -0,0 +1,12 @@
; 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
}