mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
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
This commit is contained in:
parent
280e6467c3
commit
89d983720e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user