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:
parent
269b0c1d79
commit
62b99977f6
@ -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
|
Loading…
Reference in New Issue
Block a user