1 @ RUN: not llvm-mc -triple armv7-linux-eabi -filetype asm -o /dev/null 2>&1 %s \
6 .type require_fnstart,%function
10 @ CHECK: error: .fnstart must precede .unwind_raw directive
11 @ CHECK: .unwind_raw 0, 0
14 .type check_arguments,%function
20 @ CHECK: error: expected expression
24 .type check_stack_offset,%function
30 @ CHECK: error: offset must be a constant
31 @ CHECK: .unwind_raw ., 0
34 .type comma_check,%function
40 @ CHECK: error: expected comma
41 @ CHECK: .unwind_raw 0
44 .type require_opcode,%function
50 @ CHECK: error: expected opcode expression
51 @ CHECK: .unwind_raw 0,
54 .type require_opcode_constant,%function
55 require_opcode_constant:
60 @ CHECK: error: opcode value must be a constant
61 @ CHECK: .unwind_raw 0, .
64 .type check_opcode_range,%function
70 @ CHECK: error: invalid opcode
71 @ CHECK: .unwind_raw 0, 0x100