1*9880d681SAndroid Build Coastguard Worker; RUN: not llvm-as < %s 2>&1 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker; CHECK: invalid cast opcode for cast from '<4 x i64>' to '<3 x i8>' 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine <3 x i8> @foo(<4 x i64> %x) { 6*9880d681SAndroid Build Coastguard Worker %y = trunc <4 x i64> %x to <3 x i8> 7*9880d681SAndroid Build Coastguard Worker ret <3 x i8> %y 8*9880d681SAndroid Build Coastguard Worker} 9