1 ; RUN: llvm-upgrade < %s 2>/dev/null | llvm-as -o /dev/null -f &&
2 ; RUN: llvm-upgrade < %s 2>&1 | grep "Cannot disambiguate global value '%X'" &&
3 ; RUN: llvm-upgrade < %s 2>&1 | grep "Renaming global value '%X' to '%X.un"
5 %X = external global uint *
6 %X = external global %T*
7 %X = external global int *