summaryrefslogtreecommitdiff
path: root/test/Assembler/invalid_cast.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid_cast.ll')
-rw-r--r--test/Assembler/invalid_cast.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Assembler/invalid_cast.ll b/test/Assembler/invalid_cast.ll
index c5b082b6b8..f682835724 100644
--- a/test/Assembler/invalid_cast.ll
+++ b/test/Assembler/invalid_cast.ll
@@ -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>