summaryrefslogtreecommitdiff
path: root/test/Feature
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
commit90882454bd93b92777811849aa33dfb596ffa8f7 (patch)
tree5bdc45904654eae3ab2cad21e3354d15352bcec8 /test/Feature
parentd6b7a1648c12250c4001f2bffd2a2f61d16e59a7 (diff)
Try some alternative syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/globalredefinition2.ll4
-rw-r--r--test/Feature/globalredefinition3.ll4
-rwxr-xr-xtest/Feature/packed_struct.ll2
3 files changed, 5 insertions, 5 deletions
diff --git a/test/Feature/globalredefinition2.ll b/test/Feature/globalredefinition2.ll
index 8ec6ca75354..9949e052827 100644
--- a/test/Feature/globalredefinition2.ll
+++ b/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/test/Feature/globalredefinition3.ll b/test/Feature/globalredefinition3.ll
index 7b753a9d9d0..9906c06dcfe 100644
--- a/test/Feature/globalredefinition3.ll
+++ b/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/test/Feature/packed_struct.ll b/test/Feature/packed_struct.ll
index ecf129fa09c..5bf609b7772 100755
--- a/test/Feature/packed_struct.ll
+++ b/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 }>