mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Try some alternative syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36018 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d6b7a1648c
commit
90882454bd
@ -1,6 +1,6 @@
|
||||
; Test that redefinitions of globals produces an error in llvm-upgrade
|
||||
; RUN: llvm-upgrade < %s -o /dev/null -f |& \
|
||||
; RUN: grep "Renaming global variable 'B' to.*linkage errors"
|
||||
; RUN: llvm-upgrade < %s -o /dev/null -f |& grep \
|
||||
; RUN: "Renaming global variable 'B' to.*linkage errors"
|
||||
|
||||
%B = global int 7
|
||||
%B = global int 7
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: ignore llvm-as < %s -o /dev/null -f |& \
|
||||
; RUN: grep "Redefinition of global variable named 'B'"
|
||||
; RUN: ignore llvm-as < %s -o /dev/null -f |& grep \
|
||||
; RUN: "Redefinition of global variable named 'B'"
|
||||
; END.
|
||||
|
||||
@B = global i32 7
|
||||
|
@ -2,7 +2,7 @@
|
||||
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
|
||||
; RUN: diff %t1.ll %t2.ll
|
||||
; RUN: not grep cast %t2.ll
|
||||
; RUN: grep '\<{' %t2.ll
|
||||
; RUN: grep {\<\{} %t2.ll
|
||||
; END.
|
||||
|
||||
%struct.anon = type <{ i8, i32, i32, i32 }>
|
||||
|
Loading…
Reference in New Issue
Block a user