diff options
author | Eric Christopher <echristo@apple.com> | 2011-04-12 00:18:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-04-12 00:18:03 +0000 |
commit | ffc0e1f6e6cab28f4c454ab1fd23486a081b5f3b (patch) | |
tree | 12878fdcd6083014308fb48da6884ce15ffc1619 /llvm/test | |
parent | 672ef14a62da5e6dca3be55cd72e4e610933bb10 (diff) | |
download | bcm5719-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.s | 5 |
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 |