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:
Reid Spencer 2007-04-14 22:27:05 +00:00
parent d6b7a1648c
commit 90882454bd
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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 }>