[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / ARM / directive-tlsdescseq-diagnostics.s
blob0d33b5894fea98d6bd67f4c95b88790bb97b7e37
1 @ RUN: not llvm-mc -triple armv7-linux-gnu -filetype asm -o /dev/null %s 2>&1 \
2 @ RUN: | FileCheck %s
4 .type missing_variable,%function
5 missing_variable:
6 .tlsdescseq
8 @ CHECK: error: expected variable after '.tlsdescseq' directive
9 @ CHECK: .tlsdescseq
10 @ CHECK: ^
12 .type bad_expression,%function
13 bad_expression:
14 .tlsdescseq variable(tlsdesc)
16 @ CHECK: error: unexpected token
17 @ CHECK: .tlsdescseq variable(tlsdesc)
18 @ CHECK: ^
20 .type trailing_garbage,%function
21 trailing_garbage:
22 .tlsdescseq variable,
24 @ CHECK: error: unexpected token
25 @ CHECK: .tlsdescseq variable,
26 @ CHECK: ^
28 .type invalid_use,%function
29 invalid_use:
30 blx invalid(tlsdescseq)
32 @ CHECK: error: invalid variant 'tlsdescseq'
33 @ CHECK: blx invalid(tlsdescseq)
34 @ CHECK: ^