1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll
2003-10-10 04:54:23 +00:00

7 lines
137 B
LLVM

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