summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/register-token-source-loc.s
blob: afb6ba0c61a39eb1fa204f93aabe808749fd1b61 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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:              ^
OpenPOWER on IntegriCloud