llvm-project/llvm/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlob...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
135 B
LLVM
Raw Normal View History

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