llvm-for-llvmta/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

7 lines
135 B
LLVM

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