Files
swift-mirror/test/SIL/Serialization/Inputs/function_param_convention_input.sil

11 lines
339 B
Plaintext

struct X {}
// Make sure that we can deserialize an apply with various parameter calling
// conventions.
sil [serialized] @foo : $@convention(thin) (@in X, @inout X, @in_guaranteed X, @owned X, X, @guaranteed X) -> @out X {
bb0(%0 : $*X, %1 : $*X, %2 : $*X, %3 : $*X, %4 : $X, %5 : $X, %6 : $X):
%9999 = tuple()
return %9999 : $()
}