Sign in
fuchsia
/
third_party
/
swift
/
33cff97ab2d1334d70f6102804aa5b246bf8e3d8
/
.
/
test
/
SILGen
/
inout-existential-opened-type-function-conversion.swift
blob: d373d9ca660c6e7375d0f5f7881d20b61aae8f70 [
file
] [
log
] [
blame
]
// RUN: %target-swift-emit-silgen -verify %s
protocol P
{
mutating func foo
(
_
:
(
Self
)
->
Void
)
}
func foo
(
x
:
inout P
)
{
x
.
foo
{
y
in
return
}
}