linux-packaging-mono/external/llvm/test/MC/ARM/udf-arm-diagnostics.s
Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

20 lines
340 B
ArmAsm

@ 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: operand must be an immediate in the range [0,65535]
@ CHECK: udf #65536
@ CHECK: ^