aboutsummaryrefslogtreecommitdiff
path: root/test/MC/X86
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2012-03-09 22:24:10 +0000
committerKevin Enderby <enderby@apple.com>2012-03-09 22:24:10 +0000
commit58dfaa14651f36fc9fce2031eb011e65ae267b9f (patch)
treefcf38f50b5a9e11ca603014cab15e8fe2b7b7407 /test/MC/X86
parent2d70e263c2b508bf4641273dd89a23149f6f6164 (diff)
Add the missing call to Error when a bad X86 scale expression is parsed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86')
-rw-r--r--test/MC/X86/x86_errors.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/X86/x86_errors.s b/test/MC/X86/x86_errors.s
index 8de7444ea6..8f2e1af40b 100644
--- a/test/MC/X86/x86_errors.s
+++ b/test/MC/X86/x86_errors.s
@@ -20,3 +20,7 @@ movl 0(%rax), 0(%edx) // error: invalid operand for instruction
// 32: error: instruction requires a CPU feature not currently enabled
sysexitq
+
+// rdar://10710167
+// 64: error: expected scale expression
+lea (%rsp, %rbp, $4), %rax