llvm-mirror/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll
2009-09-08 22:34:10 +00:00

7 lines
117 B
LLVM

; Weak variables should be preserved by global DCE!
; RUN: opt %s -globaldce -S | grep @A
@A = weak global i32 54