summaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/directive-word-diagnostics.s
blob: e68595b7787898b8c998856fe50abd00209ea000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \
@ RUN:   | FileCheck %s

	.cpu armv7

	.type double_diagnostics,%function
double_diagnostics:
	.word invalid(invalid) + 32

@ CHECK: error: invalid variant 'invalid'
@ CHECK-NOT: error: unexpected token at start of statement