[opaque pointer type] Add textual IR support for explicit type parameter to gep operator
[oota-llvm.git] / test / CodeGen / ARM / Windows / read-only-data.ll
1 ; RUN: llc -mtriple thumbv7-windows -filetype asm -o - %s | FileCheck %s
2
3 @.str = private unnamed_addr constant [7 x i8] c"string\00", align 1
4
5 declare arm_aapcs_vfpcc void @callee(i8*)
6
7 define arm_aapcs_vfpcc void @function() {
8 entry:
9   call arm_aapcs_vfpcc void @callee(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0))
10   ret void
11 }
12
13 ; CHECK: .section .rdata,"dr"
14 ; CHECK-NOT: .section ".rodata.str1.1"
15