view test/MC/ARM/directive-word-diagnostics.s @ 111:3e4d254d74d9

resolve some warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 02 Feb 2016 19:38:53 +0900
parents 54457678186b
children
line wrap: on
line source

@ 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