aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/globalredefinition2.ll
blob: d99a80d85ad33d2125effe543981c1575c62c6b9 (plain)
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 2>&1 | \
; RUN:   grep "Renaming global variable 'B' to.*linkage errors"

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