1; RUN: llc -mtriple=mips -relocation-model=static  < %s | FileCheck %s
2
3@.str = internal unnamed_addr constant [10 x i8] c"AAAAAAAAA\00"
4@i0 = internal unnamed_addr constant [5 x i32] [ i32 0, i32 1, i32 2, i32 3, i32 4 ]
5
6define i8* @foo() nounwind {
7entry:
8; CHECK: foo
9; CHECK: %hi(.str)
10; CHECK: %lo(.str)
11	ret i8* getelementptr ([10 x i8], [10 x i8]* @.str, i32 0, i32 0)
12}
13
14define i32* @bar() nounwind  {
15entry:
16; CHECK: bar
17; CHECK: %hi(i0)
18; CHECK: %lo(i0)
19  ret i32* getelementptr ([5 x i32], [5 x i32]* @i0, i32 0, i32 0)
20}
21
22; CHECK: rodata.str1.4,"aMS",@progbits
23; CHECK: rodata,"a",@progbits
24