1 @ RUN
: not llvm-mc
-triple armv7-eabi
-o
/dev
/null
2>&1 %s | FileCheck
%s
9 @ CHECK
: error
: expected identifier after
'.thumb_set'
13 .thumb_set ., 0x0b5e55ed
15 @ CHECK
: error
: expected identifier after
'.thumb_set'
16 @ CHECK
: .thumb_set ., 0x0b5e55ed
19 .thumb_set labelled, 0x1abe11ed
20 .thumb_set invalid, :lower16:labelled
22 @ CHECK
: error
: unknown token in expression
23 @ CHECK
: .thumb_set invalid, :lower16:labelled
26 .thumb_set missing_comma
27 @ CHECK
: :[[#@LINE-1]]:26: error: expected comma
28 @ CHECK
: .thumb_set missing_comma
31 .thumb_set missing_expression,
33 @ CHECK
: error
: missing expression
34 @ CHECK
: .thumb_set missing_expression,
37 .thumb_set trailer_trash, 0x11fe1e55,
39 @ CHECK
: error
: expected newline
40 @ CHECK
: .thumb_set trailer_trash, 0x11fe1e55,
51 .thumb_set beta, alpha
53 @ CHECK
: error
: redefinition of
'beta'
54 @ CHECK
: .thumb_set beta, alpha
57 .type recursive_use,%function
58 .thumb_set recursive_use, recursive_use + 1
60 @ CHECK
: error
: Recursive use of
'recursive_use'
61 @ CHECK
: .thumb_set recursive_use, recursive_use + 1
64 variable_result
= alpha
+ 1
66 .thumb_set variable_result, 1
68 @ CHECK
: error
: invalid reassignment of non-absolute variable
'variable_result'
69 @ CHECK
: .thumb_set variable_result, 1