1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/MC/X86/validate-inst-att.s
Saleem Abdulrasool 85b2a0e385 X86: validate 'int' instruction
The int instruction takes as an operand an 8-bit immediate value.  Validate that
the input is valid rather than silently truncating the value.

llvm-svn: 225941
2015-01-14 05:10:21 +00:00

8 lines
202 B
ArmAsm

# RUN: not llvm-mc -triple i686 -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
.text
int $65535
# CHECK: error: interrupt vector must be in range [0-255]
# CHECK: int $65535
# CHECK: ^