1// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2> %t.err | FileCheck %s
2// RUN: FileCheck --check-prefix=CHECK-ERRORS %s < %t.err
3// CHECK: 	.section	__TEXT,__text,regular,pure_instructions
4// CHECK-ERRORS: error: invalid octal number
5.long 80+08
6
7// CHECK-ERRORS: error: invalid hexadecimal number
8.long 80+0xzz
9
10// CHECK-ERRORS: error: literal value out of range for directive
11.byte 256
12
13// CHECK-ERRORS: error: literal value out of range for directive
14.long 4e71cf69 // double floating point constant due to missing "0x"
15
16// CHECK-ERRORS: error: literal value out of range for directive
17.word 0xfffffffff
18