blob: 4fed09de497a5ff3291ce58d47c636a906a740bc [file] [log] [blame]
// RUN: %target-swift-frontend -emit-silgen -verify %s
protocol P {
mutating func foo(_: (Self) -> Void)
}
func foo(x: inout P) {
x.foo { y in return }
}