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

declare void @baz(%struct* byval(%struct))

define void @foo(%struct* byval(%struct) %a) {
  call void @baz(%struct* byval(%struct) %a)
  ret void
}
OpenPOWER on IntegriCloud