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

Tree @release_36 (Download .tar.gz)

udf-arm-diagnostics.s @release_36raw · history · blame

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

	.syntax unified
	.text
	.arm

undefined:
	udfpl

@ CHECK: error: instruction 'udf' is not predicable, but condition code specified
@ CHECK: 	udfpl
@ CHECK: 	^

	udf #65536

@ CHECK: error: invalid operand for instruction
@ CHECK: 	udf #65536
@ CHECK: 	    ^