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

7 lines
137 B
LLVM
Raw Normal View History

; Weak variables should be preserved by global DCE!
; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep %A
%A = weak global int 54