xref: /aosp_15_r20/external/llvm/test/MC/X86/validate-inst-intel.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc -x86-asm-syntax intel -triple i686 -filetype asm -o /dev/null %s 2>&1 \
2*9880d681SAndroid Build Coastguard Worker# RUN:    | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker	.text
5*9880d681SAndroid Build Coastguard Worker	int 65535
6*9880d681SAndroid Build Coastguard Worker# CHECK: error: invalid operand for instruction
7*9880d681SAndroid Build Coastguard Worker# CHECK:	int 65535
8*9880d681SAndroid Build Coastguard Worker# CHECK:            ^
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Worker	.text
11*9880d681SAndroid Build Coastguard Worker	int -129
12*9880d681SAndroid Build Coastguard Worker# CHECK: error: invalid operand for instruction
13*9880d681SAndroid Build Coastguard Worker# CHECK:	int -129
14*9880d681SAndroid Build Coastguard Worker# CHECK:            ^
15*9880d681SAndroid Build Coastguard Worker
16