FileCheckize these testcases.
[oota-llvm.git] / test / Assembler / invalid_cast.ll
index c5b082b6b8d628248df868ac7412c5838a1fac04..f6828357243629664245568a19533e121c1b03f8 100644 (file)
@@ -1,4 +1,6 @@
-; RUN: not llvm-as < %s |& grep {invalid cast opcode}
+; RUN: not llvm-as < %s |& FileCheck %s
+
+; CHECK: invalid cast opcode for cast from '<4 x i64>' to '<3 x i8>'
 
 define <3 x i8> @foo(<4 x i64> %x) {
   %y = trunc <4 x i64> %x to <3 x i8>