mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-11 06:56:40 +00:00
a9d6f4a14a
This also fixes a bug where negative immediates below -128 were not being reported as errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249989 91177308-0d34-0410-b5e6-96231b3b80d8
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: ^
|
|
|