summaryrefslogtreecommitdiffstats
path: root/llvm/test
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
commitffc0e1f6e6cab28f4c454ab1fd23486a081b5f3b (patch)
tree12878fdcd6083014308fb48da6884ce15ffc1619 /llvm/test
parent672ef14a62da5e6dca3be55cd72e4e610933bb10 (diff)
downloadbcm5719-llvm-ffc0e1f6e6cab28f4c454ab1fd23486a081b5f3b.tar.gz
bcm5719-llvm-ffc0e1f6e6cab28f4c454ab1fd23486a081b5f3b.zip
Match case for invalid constant error messages and add a new
test for invalid hexadecimals. llvm-svn: 129326
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/AsmParser/exprs-invalid.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/MC/AsmParser/exprs-invalid.s b/llvm/test/MC/AsmParser/exprs-invalid.s
index 5baa9dd4c37..dc27d8043f5 100644
--- a/llvm/test/MC/AsmParser/exprs-invalid.s
+++ b/llvm/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
OpenPOWER on IntegriCloud