Try some alternative syntax.

llvm-svn: 36018
This commit is contained in:
Reid Spencer 2007-04-14 22:27:05 +00:00
parent 7928216e38
commit 9811e4ba2b
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 }>