aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2003-04-15-ConstantInitAssertion.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2003-04-15-ConstantInitAssertion.ll')
-rw-r--r--test/Assembler/2003-04-15-ConstantInitAssertion.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Assembler/2003-04-15-ConstantInitAssertion.ll b/test/Assembler/2003-04-15-ConstantInitAssertion.ll
index fa6b807..dddbdb1 100644
--- a/test/Assembler/2003-04-15-ConstantInitAssertion.ll
+++ b/test/Assembler/2003-04-15-ConstantInitAssertion.ll
@@ -1,4 +1,5 @@
-; RUN: not llvm-as < %s >/dev/null |& grep {struct initializer doesn't match struct element type}
+; RUN: not llvm-as < %s >/dev/null 2> %t
+; RUN: grep "struct initializer doesn't match struct element type" %t
; Test the case of a misformed constant initializer
; This should cause an assembler error, not an assertion failure!
constant { i32 } { float 1.0 }