Home | History | Annotate | Download | only in ARM
      1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o - %s 2>&1 | FileCheck %s
      2 
      3 	.syntax unified
      4 
      5 	.type function,%function
      6 function:
      7 	ldr.n r0, [r0]
      8 
      9 @ CHECK: error: instruction with .n (narrow) qualifier not allowed in arm mode
     10 @ CHECK: 	ldr.n r0, [r0]
     11 @ CHECK:           ^
     12 @ CHECK-NOT: error: unexpected token in operand
     13 @ CHECK-NOT: 	ldr.n r0, [r0]
     14 @ CHECK-NOT:            ^
     15 
     16