hanchenye-llvm-project/llvm/test/Feature/globalredefinition2.ll

7 lines
220 B
LLVM

; 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