summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/exprs-invalid.s
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-04-12 00:18:03 +0000
committerEric Christopher <echristo@apple.com>2011-04-12 00:18:03 +0000
commit05f9e4e8bd2347826c50ec391ea4ec8caffe45ef (patch)
tree62b08339d56ff32127fe591771b42e13ce196bd9 /test/MC/AsmParser/exprs-invalid.s
parente77f72d7d236cabee6ce154ade0f5c666ecaaaca (diff)
downloadllvm-05f9e4e8bd2347826c50ec391ea4ec8caffe45ef.tar.gz
llvm-05f9e4e8bd2347826c50ec391ea4ec8caffe45ef.tar.bz2
llvm-05f9e4e8bd2347826c50ec391ea4ec8caffe45ef.tar.xz
Match case for invalid constant error messages and add a new
test for invalid hexadecimals. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129326 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser/exprs-invalid.s')
-rw-r--r--test/MC/AsmParser/exprs-invalid.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/MC/AsmParser/exprs-invalid.s b/test/MC/AsmParser/exprs-invalid.s
index 5baa9dd4c3..dc27d8043f 100644
--- a/test/MC/AsmParser/exprs-invalid.s
+++ b/test/MC/AsmParser/exprs-invalid.s
@@ -1,5 +1,8 @@
// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err | FileCheck %s
// RUN: FileCheck --check-prefix=CHECK-ERRORS %s < %t.err
// CHECK: .section __TEXT,__text,regular,pure_instructions
-// CHECK-ERRORS: error: Invalid octal number
+// CHECK-ERRORS: error: invalid octal number
.long 80+08
+
+// CHECK-ERRORS: error: invalid hexadecimal number
+.long 80+0xzz