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