llvm-for-llvmta/test/MC/X86/intel-syntax-invalid-basereg.s

8 lines
203 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
// RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2> %t.err
// RUN: FileCheck < %t.err %s
.intel_syntax
// CHECK: error: base register is 64-bit, but index register is not
lea rax, [rdi + edx]