1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \
8 .type false_start,%function
13 @ CHECK: error: .fnstart must precede .movsp directive
18 .type beyond_saving,%function
28 @ CHECK: error: unexpected .movsp directive
34 .type sp_invalid,%function
42 @ CHECK: error: sp and pc are not permitted in .movsp directive
48 .type pc_invalid,%function
56 @ CHECK: error: sp and pc are not permitted in .movsp directive
61 .global constant_required
62 .type constant_required,%function
70 @ CHECK: error: expected #constant
75 .global constant_constant
76 .type constant_constant,%function
84 @ CHECK: error: offset must be an immediate constant
85 @ CHECK: .movsp r11, #constant
91 .global register_required
92 .type register_required,%function
99 @ CHECK: error: register expected