llvm-for-llvmta/test/MC/X86/validate-inst-att.s

23 lines
521 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mc -triple i686 -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
.text
int $65535
# CHECK: error: invalid operand for instruction
# CHECK: int $65535
# CHECK: ^
int $-129
# CHECK: error: invalid operand for instruction
# CHECK: int $-129
# CHECK: ^
inb $65535, %al
# CHECK: error: invalid operand for instruction
# CHECK: inb $65535, %al
# CHECK: ^
outb %al, $65535
# CHECK: error: invalid operand for instruction
# CHECK: outb %al, $65535
# CHECK: ^