Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / ARM / directive-tlsdescseq-diagnostics.s
blobf2b4fd504f8439f4e77442335cefc9123cd7a94d
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)
15 @ CHECK: :[[#@LINE-1]]:21: error: expected newline
16 @ CHECK: .tlsdescseq variable(tlsdesc)
17 @ CHECK: ^
19 .type trailing_garbage,%function
20 trailing_garbage:
21 .tlsdescseq variable,
22 @ CHECK: :[[#@LINE-1]]:21: error: expected newline
23 @ CHECK: .tlsdescseq variable,
24 @ CHECK: ^
26 .type invalid_use,%function
27 invalid_use:
28 blx invalid(tlsdescseq)
30 @ CHECK: error: invalid variant 'tlsdescseq'
31 @ CHECK: blx invalid(tlsdescseq)
32 @ CHECK: ^