Use FileCheck in a few tests.
[oota-llvm.git] / test / Assembler / 2008-09-02-FunctionNotes2.ll
index 8a49e8990280259fcfb5c22874a2a00911a9e652..47eb011343fbe86a6fc43c58ebd6b5d690356f26 100644 (file)
@@ -1,5 +1,5 @@
 ; Test function notes
-; RUN: not llvm-as %s -o /dev/null |& grep "Attributes noinline alwaysinline are incompatible"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "Attributes 'noinline and alwaysinline' are incompatible"
 define void @fn1() alwaysinline  noinline {
   ret void
 }