2003-10-09-PreserveWeakGlobals.ll 135 Bytes
; Weak variables should be preserved by global DCE!

; RUN: opt < %s -globaldce -S | FileCheck %s

; CHECK: @A
@A = weak global i32 54