llvm/test/Feature/globalredefinition2.ll
Reid Spencer 90882454bd Try some alternative syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36018 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 22:27:05 +00:00

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