16 lines · plain
1@ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o - %s 2>&1 | FileCheck %s2 3 .syntax unified4 5 .type function,%function6function:7 ldr.n r0, [r0]8 9@ CHECK: error: instruction with .n (narrow) qualifier not allowed in arm mode10@ CHECK: ldr.n r0, [r0]11@ CHECK: ^12@ CHECK-NOT: error: unexpected token in operand13@ CHECK-NOT: ldr.n r0, [r0]14@ CHECK-NOT: ^15 16