1@ RUN: llvm-mc -triple=arm-linux-gnueabi < %s | FileCheck %s
2
3@ CHECK: ldr	r12, [sp, #15]
4ldr r12, [sp, (15)]
5
6@ CHECK: ldr	r12, [sp, #15]
7ldr r12, [sp, #(15)]
8
9@ CHECK: ldr	r12, [sp, #15]
10ldr r12, [sp, $(15)]
11
12@ CHECK: ldr	r12, [sp, #100]
13ldr r12, [sp, (((15+5)*5))]
14
15@ CHECK: ldr	r12, [sp, #100]
16ldr r12, [sp, #(((15+5)*5))]
17
18
19@ CHECK: ldr	r12, [sp, #100]
20ldr r12, [sp, $(((15+5)*5))]
21