mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-31 12:30:06 +00:00
16 lines
381 B
ArmAsm
16 lines
381 B
ArmAsm
|
@ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o - %s 2>&1 | FileCheck %s
|
||
|
|
||
|
.syntax unified
|
||
|
|
||
|
.type function,%function
|
||
|
function:
|
||
|
ldr.n r0, [r0]
|
||
|
|
||
|
@ CHECK: error: instruction with .n (narrow) qualifier not allowed in arm mode
|
||
|
@ CHECK: ldr.n r0, [r0]
|
||
|
@ CHECK: ^
|
||
|
@ CHECK-NOT: error: unexpected token in operand
|
||
|
@ CHECK-NOT: ldr.n r0, [r0]
|
||
|
@ CHECK-NOT: ^
|
||
|
|