diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-05 17:35:05 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-05 17:35:05 +0000 |
commit | 89d983720e20868052eb9b094aae34d375ff285b (patch) | |
tree | 8091aca109634fd78ab88cdb3f8d0b01c8cd1bf1 | |
parent | 280e6467c3daf0d8c0055c36b40a6e18c6abb2c8 (diff) | |
download | external_llvm-89d983720e20868052eb9b094aae34d375ff285b.zip external_llvm-89d983720e20868052eb9b094aae34d375ff285b.tar.gz external_llvm-89d983720e20868052eb9b094aae34d375ff285b.tar.bz2 |
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
-rw-r--r-- | test/Assembler/2002-12-15-GlobalResolve.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Assembler/2002-12-15-GlobalResolve.ll b/test/Assembler/2002-12-15-GlobalResolve.ll index 332b532..c17a20d 100644 --- a/test/Assembler/2002-12-15-GlobalResolve.ll +++ b/test/Assembler/2002-12-15-GlobalResolve.ll @@ -1,9 +1,11 @@ -; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f +; 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 - |