[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AsmParser / directive_rept-diagnostics.s
blobcbef1586900410bd42c94719b0c1bf3e1f113f9b
1 # RUN: not llvm-mc -triple i686-elf -filetype asm -o /dev/null %s 2>&1 \
2 # RUN: | FileCheck %s
4 .data
6 .global invalid_expression
7 .type invalid_expression,@object
8 invalid_expression:
9 .rept *
11 # CHECK: error: unknown token in expression
12 # CHECK: .rept *
13 # CHECK: ^
15 .global bad_token
16 .type bad_token,@object
17 bad_token:
18 .rept bad_token
20 # CHECK: error: unexpected token in '.rept' directive
21 # CHECK: .rept bad_token
22 # CHECK: ^
24 .global negative
25 .type negative,@object
26 negative:
27 .rept -32
29 # CHECK: error: Count is negative
30 # CHECK: .rept -32
31 # CHECK: ^
33 .global trailer
34 .type trailer,@object
35 trailer:
36 .rep 0 trailer
38 # CHECK: error: unexpected token in '.rep' directive
39 # CHECK: .rep 0 trailer
40 # CHECK: ^