1; RUN:  %lli -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
2
3; Check that a variable is always aligned as specified.
4
5@var = global i32 0, align 32
6define i32 @main() nounwind {
7  %addr = ptrtoint i32* @var to i64
8  %mask = and i64 %addr, 31
9  %tst = icmp eq i64 %mask, 0
10  br i1 %tst, label %good, label %bad
11good:
12  ret i32 0
13bad:
14  ret i32 1
15}
16