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
28 @ CHECK
: error
: expected comma after name
'missing_comma'
29 @ CHECK
: .thumb_set missing_comma
32 .thumb_set missing_expression,
34 @ CHECK
: error
: missing expression
35 @ CHECK
: .thumb_set missing_expression,
38 .thumb_set trailer_trash, 0x11fe1e55,
40 @ CHECK
: error
: unexpected token
41 @ CHECK
: .thumb_set trailer_trash, 0x11fe1e55,
52 .thumb_set beta, alpha
54 @ CHECK
: error
: redefinition of
'beta'
55 @ CHECK
: .thumb_set beta, alpha
58 .type recursive_use,%function
59 .thumb_set recursive_use, recursive_use + 1
61 @ CHECK
: error
: Recursive use of
'recursive_use'
62 @ CHECK
: .thumb_set recursive_use, recursive_use + 1
65 variable_result
= alpha
+ 1
67 .thumb_set variable_result, 1
69 @ CHECK
: error
: invalid reassignment of non-absolute variable
'variable_result'
70 @ CHECK
: .thumb_set variable_result, 1