1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

new testcase. globaldce should not delete the global

llvm-svn: 8999
This commit is contained in:
Chris Lattner 2003-10-10 04:54:23 +00:00
parent 269b0c1d79
commit 62b99977f6

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