Sign in
llvm
/
llvm-project
/
7e6df41f655e51c984b92bbd9c19a6fb851f35d4
/
.
/
llvm
/
test
/
Transforms
/
GlobalDCE
/
2002-07-17-ConstantRef.ll
blob: 6ed1612917bddece6f2d2d3a45cd144bb5afd1b0 [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=globaldce
;
@X
=
global
void
()*
@func
; <void ()**> [#uses=0]
; Not dead, can be reachable via X
define
internal
void
@func
()
{
ret
void
}
define
void
@main
()
{
ret
void
}