[MC][X86] Add test case for invalid use of "(%dx)" operand.

llvm-svn: 351094
This commit is contained in:
Nirav Dave 2019-01-14 18:44:32 +00:00
parent b23ff7a0e2
commit a0946dc740
1 changed files with 4 additions and 0 deletions

View File

@ -154,3 +154,7 @@ mov $v_eax, %ecx
// 32: error: unexpected token in argument list
// 64: error: unexpected token in argument list
mov v_ecx(%eax), %ecx
// 32: 7: error: invalid operand for instruction
// 64: 7: error: invalid operand for instruction
addb (%dx), %al