llvm-6502/test/Assembler/2002-12-15-GlobalResolve.ll
Reid Spencer 89d983720e Beef up this test case a little by introducing a global variable name
conflict after upgrade resulting from collapsed type planes. The test now
checks to make sure llvm-upgrade produces appropriate warning messages.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32913 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 17:35:05 +00:00

12 lines
335 B
LLVM

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