Sign in
llvm
/
llvm-project
/
7e6df41f655e51c984b92bbd9c19a6fb851f35d4
/
.
/
llvm
/
test
/
Transforms
/
GlobalDCE
/
2003-10-09-PreserveWeakGlobals.ll
blob: 2c065eb4840b5d3a02f030359d55283a2578fb3c [
file
] [
log
] [
blame
]
; Weak variables should be preserved by global DCE!
; RUN: opt < %s -passes=globaldce -S | FileCheck %s
; CHECK: @A
@A
=
weak
global
i32
54