summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-14 22:27:05 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-14 22:27:05 +0000
commit71d3ab5e627b72ce04a4154f5736f224cceb66cd (patch)
treee29ef46e2c26702174ed8ff932c2117ccca50632 /llvm/test
parenta6b566020948f8d776a919c663c8abcbe5c9c231 (diff)
downloadbcm5719-llvm-71d3ab5e627b72ce04a4154f5736f224cceb66cd.tar.gz
bcm5719-llvm-71d3ab5e627b72ce04a4154f5736f224cceb66cd.zip
Try some alternative syntax.
llvm-svn: 36018
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Feature/globalredefinition2.ll4
-rw-r--r--llvm/test/Feature/globalredefinition3.ll4
-rwxr-xr-xllvm/test/Feature/packed_struct.ll2
3 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/Feature/globalredefinition2.ll b/llvm/test/Feature/globalredefinition2.ll
index 8ec6ca75354..9949e052827 100644
--- a/llvm/test/Feature/globalredefinition2.ll
+++ b/llvm/test/Feature/globalredefinition2.ll
@@ -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
diff --git a/llvm/test/Feature/globalredefinition3.ll b/llvm/test/Feature/globalredefinition3.ll
index 7b753a9d9d0..9906c06dcfe 100644
--- a/llvm/test/Feature/globalredefinition3.ll
+++ b/llvm/test/Feature/globalredefinition3.ll
@@ -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
diff --git a/llvm/test/Feature/packed_struct.ll b/llvm/test/Feature/packed_struct.ll
index ecf129fa09c..5bf609b7772 100755
--- a/llvm/test/Feature/packed_struct.ll
+++ b/llvm/test/Feature/packed_struct.ll
@@ -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 }>
OpenPOWER on IntegriCloud