YouCompleteMe/cpp/llvm/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll

7 lines
119 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; Weak variables should be preserved by global DCE!
; RUN: opt < %s -globaldce -S | grep @A
@A = weak global i32 54