[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ARM / symbol-variants-errors.s
blob03401cd98b7e9c871ad8457f83064b4fd5fa58c0
1 @ RUN: not llvm-mc < %s -triple armv7-none-linux-gnueabi 2>&1 | FileCheck %s
3 @ check for invalid variant
4 f1:
5 bl bar(blargh)
6 @CHECK: error: invalid variant 'blargh'
7 @CHECK: bl bar(blargh)
8 @CHECK: ^
10 @ check for missing closed paren
11 f2:
12 .word bar(got
13 @CHECK: error: unexpected token in variant, expected ')'
14 @CHECK: .word bar(got
15 @CHECK: ^
17 @ check for invalid symbol before variant end
18 f3:
19 .word bar(got+2)
21 @CHECK: error: unexpected token in variant, expected ')'
22 @CHECK: .word bar(got+2)
23 @CHECK: ^