xref: /aosp_15_r20/external/llvm/test/MC/ARM/directive-word-diagnostics.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1@ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \
2@ RUN:   | FileCheck %s
3
4	.cpu armv7
5
6	.type double_diagnostics,%function
7double_diagnostics:
8	.word invalid(invalid) + 32
9
10@ CHECK: error: invalid variant 'invalid'
11@ CHECK-NOT: error: unexpected token at start of statement
12
13