Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / ARM / symbol-variants-errors.s
blob9a375773361da23be0e329e11d5df3da44b28253
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: :[[#@LINE-1]]:16: error: expected ')'
14 @CHECK: .word bar(got
15 @CHECK: ^
17 @ check for invalid symbol before variant end
18 f3:
19 .word bar(got+2)
20 @CHECK: :[[#@LINE-1]]:16: error: expected ')'
21 @CHECK: .word bar(got+2)
22 @CHECK: ^