blob: 03401cd98b7e9c871ad8457f83064b4fd5fa58c0 [file] [log] [blame]
David Peixotto8ad70b32013-12-04 22:43:20 +00001@ RUN: not llvm-mc < %s -triple armv7-none-linux-gnueabi 2>&1 | FileCheck %s
2
3@ check for invalid variant
4f1:
5 bl bar(blargh)
6@CHECK: error: invalid variant 'blargh'
7@CHECK: bl bar(blargh)
8@CHECK: ^
9
10@ check for missing closed paren
11f2:
12 .word bar(got
13@CHECK: error: unexpected token in variant, expected ')'
14@CHECK: .word bar(got
15@CHECK: ^
16
17@ check for invalid symbol before variant end
18f3:
19 .word bar(got+2)
20
21@CHECK: error: unexpected token in variant, expected ')'
22@CHECK: .word bar(got+2)
23@CHECK: ^