2003-10-10 12:54:23 +08:00
|
|
|
; Weak variables should be preserved by global DCE!
|
|
|
|
|
2016-05-02 06:51:14 +08:00
|
|
|
; RUN: opt < %s -globaldce -S | FileCheck %s
|
2003-10-10 12:54:23 +08:00
|
|
|
|
2016-05-02 06:51:14 +08:00
|
|
|
; CHECK: @A
|
2008-03-01 17:15:35 +08:00
|
|
|
@A = weak global i32 54
|