1 @RUN
: not llvm-mc
-triple armv7-eabi
-filetype obj
-o
- %s
2>&1 | FileCheck
%s
5 movw
r1, #:lower16:v + -65536
6 movt
r1, #:upper16:v + 65536
8 @CHECK
: error
: Relocation
Not In Range
9 @CHECK
: movw
r1, #:lower16:v + -65536
11 @CHECK
: error
: Relocation
Not In Range
12 @CHECK
: movt
r1, #:upper16:v + 65536