Quote two greps which contain parentheses.

llvm-svn: 134353
This commit is contained in:
Chandler Carruth 2011-07-02 20:43:13 +00:00
parent 959fe548d7
commit af39a720fa
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
; RUN: echo {define internal i32 @foo() \{ ret i32 7 \} } | llvm-as > %t.1.bc
; RUN: llvm-as %s -o %t.2.bc
; RUN: llvm-link %t.1.bc %t.2.bc -S | grep @foo() | grep -v internal
; RUN: llvm-link %t.1.bc %t.2.bc -S | grep {@foo()} | grep -v internal
define i32 @foo() { ret i32 0 }

View File

@ -6,7 +6,7 @@
; RUN: echo { define internal i32 @foo() \{ ret i32 7 \} } | llvm-as > %t.1.bc
; RUN: llvm-as < %s > %t.2.bc
; RUN: llvm-link %t.1.bc %t.2.bc -S | grep internal | not grep @foo(
; RUN: llvm-link %t.1.bc %t.2.bc -S | grep internal | not grep {@foo(}
declare i32 @foo()