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 'i8' 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine i8 @foo(<4 x i64> %x) { 6*9880d681SAndroid Build Coastguard Worker %y = trunc <4 x i64> %x to i8 7*9880d681SAndroid Build Coastguard Worker ret i8 %y 8*9880d681SAndroid Build Coastguard Worker} 9