aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid_cast2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid_cast2.ll')
-rw-r--r--test/Assembler/invalid_cast2.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Assembler/invalid_cast2.ll b/test/Assembler/invalid_cast2.ll
index f2e7c41..a01b935 100644
--- a/test/Assembler/invalid_cast2.ll
+++ b/test/Assembler/invalid_cast2.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 'i8'
define i8 @foo(<4 x i64> %x) {
%y = trunc <4 x i64> %x to i8