Sign in
llvm
/
llvm
/
refs/heads/release_22
/
.
/
test
/
Feature
/
globalredefinition2.ll
blob: 9949e052827f126b46f36fd76fd08963f776183b [
file
] [
log
] [
blame
]
; 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