blob: 9949e052827f126b46f36fd76fd08963f776183b [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Test that redefinitions of globals produces an error in llvm-upgrade
2; RUN: llvm-upgrade < %s -o /dev/null -f |& grep \
3; RUN: "Renaming global variable 'B' to.*linkage errors"
4
5%B = global int 7
6%B = global int 7