xref: /aosp_15_r20/external/llvm/test/MC/ARM/inst-overflow.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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	.arm
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 1 << 32
12*9880d681SAndroid Build Coastguard Worker@ CHECK-ERROR: inst operand is too big
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Worker
15