[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / MC / ARM / arm-qualifier-diagnostics.s
blob8b75eee5de201193aeef3a76f4fa8c8292ec8c58
1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o - %s 2>&1 | FileCheck %s
3 .syntax unified
5 .type function,%function
6 function:
7 ldr.n r0, [r0]
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: ^