mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
89d983720e
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
12 lines
335 B
LLVM
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
|