1; RUN: llc < %s -mtriple=i686-apple-darwin -relocation-model=dynamic-no-pic | FileCheck %s
2
3@var = external hidden global i32
4@p = external hidden global i32*
5
6define void @f() {
7; CHECK: movl $_var+40, _p
8 store i32* getelementptr (i32, i32* @var, i64 10), i32** @p
9 ret void
10}
11