llvm.org GIT mirror llvm / release_20 test / Feature / globalredefinition2.ll
release_20

Tree @release_20 (Download .tar.gz)

globalredefinition2.ll @release_20raw · history · blame

1
2
3
4
5
6
; Test that redefinitions of globals produces an error in llvm-upgrade
; RUN: llvm-upgrade < %s -o /dev/null -f |&  grep \
; RUN:    "Renaming global variable 'B' to.*linkage errors"

%B = global int 7
%B = global int 7