new testcase. globaldce should not delete the global

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-10-10 04:54:23 +00:00
parent f797cabedf
commit b3c495f675

View File

@ -0,0 +1,6 @@
; Weak variables should be preserved by global DCE!
; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep %A
%A = weak global int 54