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.
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
14 // CHECK
: [[@LINE+
1]]:1: error
: unsupported relocation
17 // CHECK
: [[@LINE+
1]]:1: error
: expected relocatable expression
18 movs
r11, :upper8_15
:#foo