summaryrefslogtreecommitdiff
path: root/llvm/test/Linker/Inputs/elementtype-struct-2.ll
blob: 75eb96f8e41da0a337ed488c3afff5440d21fa41 (plain)
1
2
3
4
5
6
7
8
%struct = type {i32, i8}

define void @struct_elementtype_2() {
  call ptr @llvm.preserve.array.access.index.p0.p0(ptr elementtype(%struct) null, i32 0, i32 0)
  ret void
}

declare ptr @llvm.preserve.array.access.index.p0.p0(ptr, i32, i32)