summaryrefslogtreecommitdiffstats
path: root/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll
blob: 12d4736d2749de0b64289a4d39c5889a8143c9c4 (plain)
1
2
3
4
5
6
; Weak variables should be preserved by global DCE!

; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep @A


@A = weak global i32 54
OpenPOWER on IntegriCloud