blob: 8b75eee5de201193aeef3a76f4fa8c8292ec8c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
@ 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: ^
|