blob: 9949e052827f126b46f36fd76fd08963f776183b [file] [log] [blame]
Reid Spencerdfa4b1a2007-01-05 17:25:12 +00001; Test that redefinitions of globals produces an error in llvm-upgrade
Reid Spencer90882452007-04-14 22:27:05 +00002; RUN: llvm-upgrade < %s -o /dev/null -f |& grep \
3; RUN: "Renaming global variable 'B' to.*linkage errors"
Reid Spencerdfa4b1a2007-01-05 17:25:12 +00004
5%B = global int 7
6%B = global int 7