1*9880d681SAndroid Build Coastguard Worker@ RUN: not llvm-mc %s -triple armv7-linux-gnueabi -filetype asm -o - 2>&1 \ 2*9880d681SAndroid Build Coastguard Worker@ RUN: | FileCheck -check-prefix CHECK-ERROR %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker .syntax unified 5*9880d681SAndroid Build Coastguard Worker .thumb 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker .align 2 8*9880d681SAndroid Build Coastguard Worker .global constant_overflow 9*9880d681SAndroid Build Coastguard Worker .type constant_overflow,%function 10*9880d681SAndroid Build Coastguard Workerconstant_overflow: 11*9880d681SAndroid Build Coastguard Worker .inst.n 1 << 31 12*9880d681SAndroid Build Coastguard Worker@ CHECK-ERROR: inst.n operand is too big, use inst.w instead 13*9880d681SAndroid Build Coastguard Worker 14