Try some alternative syntax.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 14 Apr 2007 22:27:05 +0000 (22:27 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 14 Apr 2007 22:27:05 +0000 (22:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36018 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/globalredefinition2.ll
test/Feature/globalredefinition3.ll
test/Feature/packed_struct.ll

index 8ec6ca753540640ce6a1c7056a2a63fa999233f8..9949e052827f126b46f36fd76fd08963f776183b 100644 (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
index 7b753a9d9d0261cb23d4ee61ca90c70ace6a109e..9906c06dcfe248e2f80ea8ebea5549a3cc14cbff 100644 (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
index ecf129fa09c538659ee79437f7744691e0d105d7..5bf609b7772b7a538c5a77488f5343a26442f40c 100755 (executable)
@@ -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 }>