Files
swift-mirror/test/SIL/Serialization/Inputs/function_param_convention_input.sil
Joe Groff c0a2994564 AST: Start printing function types with @convention instead of old attributes.
And update tests to match.

Swift SVN r27262
2015-04-13 22:51:34 +00:00

11 lines
356 B
Plaintext

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