summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/exprs-invalid.s
blob: dc27d8043f5b2f140c3eaa5bf9974d1a458c720e (plain)
1
2
3
4
5
6
7
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
.long 80+08

// CHECK-ERRORS: error: invalid hexadecimal number
.long 80+0xzz