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