llvm.org GIT mirror llvm / release_36 test / MC / ARM / variant-diagnostics.s
release_36

Tree @release_36 (Download .tar.gz)

variant-diagnostics.s @release_36raw · history · blame

@ RUN: not llvm-mc -triple armv7-linux-eabi -filetype asm -o /dev/null 2>&1 %s \
@ RUN:   | FileCheck %s

	.arch armv7

	.type invalid_variant,%function
invalid_variant:
	bx target(invalid)

@ CHECK: error: invalid variant 'invalid'
@ CHECK: 	bx target(invalid)
@ CHECK:                  ^