blob: 5ce9546deb50d9402cf3053a6baf38bb6e051b6c [file] [log] [blame]
Chandler Carruth49589f02012-07-02 18:37:59 +00001; RUN: not llvm-as < %s 2>&1 | FileCheck %s
Bill Wendlinga0126af2012-04-08 11:00:38 +00002
3; CHECK: invalid cast opcode for cast from '<4 x i64>' to 'i8'
Duncan Sandsbb1695e2011-05-18 09:21:57 +00004
5define i8 @foo(<4 x i64> %x) {
6 %y = trunc <4 x i64> %x to i8
7 ret i8 %y
8}