xref: /llvm-project/llvm/test/Linker/Inputs/byref-type-input.ll (revision f2e868c566107eb2f54e3e6033199297ba11e2d9)
1%a = type { i64 }
2%struct = type { i32, i8 }
3
4define void @g(ptr byref(%a)) {
5  ret void
6}
7
8declare void @baz(ptr byref(%struct))
9
10define void @foo(ptr byref(%struct) %a) {
11  call void @baz(ptr byref(%struct) %a)
12  ret void
13}
14