[lldb-dap] Ensure the IO forwarding threads are managed by the DAP object lifecycle...
[llvm-project.git] / llvm / test / MC / ARM / lower-upper-errors-2.s
blob58c1f117923001cbbb60bc9c697c79231b150c23
1 // RUN: not llvm-mc --triple thumbv7m -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s
3 // This test checks reporting of errors of the form "you should have
4 // used :lower16: in this immediate field", when the errors are
5 // discovered at the object-file output stage by checking the set of
6 // available relocations.
7 //
8 // For errors that are reported earlier, when initially reading the
9 // instructions, see lower-upper-errors.s.
11 // CHECK: [[@LINE+1]]:1: error: unsupported relocation
12 adds r0, r0, #foo
14 // CHECK: [[@LINE+1]]:1: error: unsupported relocation
15 add r9, r0, #foo
17 // CHECK: [[@LINE+1]]:1: error: expected relocatable expression
18 movs r11, :upper8_15:#foo