mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-13 07:00:59 +00:00
7a2aafba5d
This also fixes a bug where negative immediates below -128 were not being reported as errors. llvm-svn: 249989
16 lines
331 B
ArmAsm
16 lines
331 B
ArmAsm
# RUN: not llvm-mc -x86-asm-syntax intel -triple i686 -filetype asm -o /dev/null %s 2>&1 \
|
|
# RUN: | FileCheck %s
|
|
|
|
.text
|
|
int 65535
|
|
# CHECK: error: invalid operand for instruction
|
|
# CHECK: int 65535
|
|
# CHECK: ^
|
|
|
|
.text
|
|
int -129
|
|
# CHECK: error: invalid operand for instruction
|
|
# CHECK: int -129
|
|
# CHECK: ^
|
|
|