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

; RUN: opt < %s -globaldce -S | grep @A


@A = weak global i32 54