For PR1077:
[oota-llvm.git] / test / Feature / globalredefinition2.ll
1 ; Test that redefinitions of globals produces an error in llvm-upgrade
2 ; RUN: llvm-upgrade < %s -o /dev/null -f 2>&1 | \
3 ; RUN:   grep "Global variable '%B' was renamed to '"
4
5 %B = global int 7
6 %B = global int 7