1// RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2> %t.err
2// RUN: FileCheck < %t.err %s
3
4.intel_syntax
5
6// CHECK: error: scale factor in address must be 1, 2, 4 or 8
7    lea rax, [rdi + rdx*64]
8// CHECK: error: scale factor in address must be 1, 2, 4 or 8
9    lea rax, [rdi + rdx*32]
10// CHECK: error: scale factor in address must be 1, 2, 4 or 8
11    lea rax, [rdi + rdx*16]
12