diff options
Diffstat (limited to 'test/Assembler/invalid_cast.ll')
-rw-r--r-- | test/Assembler/invalid_cast.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Assembler/invalid_cast.ll b/test/Assembler/invalid_cast.ll index c5b082b..f682835 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> |