new testcase. globaldce should not delete the global
[oota-llvm.git] / test / Transforms / GlobalDCE / 2003-10-09-PreserveWeakGlobals.ll
1 ; Weak variables should be preserved by global DCE!
2
3 ; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep %A
4
5
6 %A = weak global int 54