[ms-inline asm] Add back-end test case for r166632. Make sure we emit the
[oota-llvm.git] / test / MC / X86 / x86-32-ms-inline-asm.s
1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
2
3 .intel_syntax
4 mov eax, [ebx].0
5 mov [ebx].4, ecx
6 .att_syntax
7         
8 ; CHECK: movl (%ebx), %eax
9 ; CHECK: encoding: [0x8b,0x03]
10 ; CHECK: movl %ecx, 4(%ebx)
11 ; CHECK: encoding: [0x89,0x4b,0x04]
12