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