xref: /aosp_15_r20/external/llvm/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; Weak variables should be preserved by global DCE!
2
3; RUN: opt < %s -globaldce -S | FileCheck %s
4
5; CHECK: @A
6@A = weak global i32 54
7