[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / Mips / sym-expr.s
blobefefb1d5c4a98d1c7e4e3fd0bff523574d16b6ba
1 # Check parsing symbol expressions
3 # RUN: llvm-mc -triple=mipsel -show-inst-operands %s 2> %t0
4 # RUN: FileCheck %s < %t0
6 .global __start
7 .ent __start
8 __start:
9 nop
10 loc:
11 jal __start + 0x4 # CHECK: instruction: [jal, Imm<__start+4>]
12 jal __start + (-0x10) # CHECK: instruction: [jal, Imm<__start-16>]
13 jal (__start + (-0x10)) # CHECK: instruction: [jal, Imm<__start-16>]
14 .end __start