Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
GlobalDCE
/
2002-07-17-CastRef.ll
blob: d08c32e415c47ef7c4d04d90f70c06d955feec85 [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=globaldce
;
define
internal
void
@func
()
{
ret
void
}
define
void
@main
()
{
%X
=
addrspacecast
ptr
@func
to
ptr
addrspace
(
1
)
; <i32*> [#uses=0]
ret
void
}