summaryrefslogtreecommitdiff
path: root/test/Feature/globalredefinition2.ll
blob: 4e14b005334966d4b1b5f02accd16420785ca172 (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 "Global variable '%B' was renamed to '"

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