blob: afb6ba0c61a39eb1fa204f93aabe808749fd1b61 [file] [log] [blame]
// RUN: not llvm-mc -triple armv6m--none-eabi < %s 2>&1 | FileCheck %s
add sp, r0, #4
// CHECK: error: invalid instruction, any one of the following would fix this:
// CHECK-NEXT: add sp, r0, #4
// CHECK-NEXT: ^
// CHECK-NEXT: note: operand must be a register sp
// CHECK-NEXT: add sp, r0, #4
// CHECK-NEXT: ^
// CHECK-NEXT: note: too many operands for instruction
// CHECK-NEXT: add sp, r0, #4
// CHECK-NEXT: ^