• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@ 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:               ^
24