15 lines · plain
1# Check parsing symbol expressions2 3# RUN: llvm-mc -triple=mipsel -show-inst-operands %s 2> %t04# RUN: FileCheck %s < %t05 6 .global __start7 .ent __start8__start:9 nop10loc: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 __start15