~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/MC/X86/intel-syntax-invalid-scale.s

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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]