exprs-invalid.s 530 B

1234567891011121314
  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. // CHECK-ERRORS: error: invalid hexadecimal number
  7. .long 80+0xzz
  8. // CHECK-ERRORS: error: literal value out of range for directive
  9. .byte 256
  10. // CHECK-ERRORS: error: literal value out of range for directive
  11. .long 4e71cf69 // double floating point constant due to missing "0x"