llvm.org GIT mirror llvm / 2edda52 test / MC / ARM / udf-thumb-diagnostics.s
2edda52

Tree @2edda52 (Download .tar.gz)

udf-thumb-diagnostics.s @2edda52raw · history · blame

@ RUN: not llvm-mc -triple thumbv6m-eabi %s 2>&1 | FileCheck %s

	.syntax unified
	.text
	.thumb

undefined:
	udfpl

@ CHECK: error: conditional execution not supported in Thumb1
@ CHECK: 	udfpl
@ CHECK: 	^

	udf #256

@ CHECK: error: operand must be an immediate in the range [0,255]
@ CHECK: 	udf #256
@ CHECK: 	    ^