blob: 6af22745a65505db42a1241b6aab0dd6f50a12b9 [file] [log] [blame]
// RUN: %target-typecheck-verify-swift -swift-version 3
struct X {
func f1(_ i: Int) { }
mutating func f1(_ f: Float) { }
}
func g0(_: (inout X) -> (Float) -> ()) {}
g0(X.f1) // expected-warning{{partial application of 'mutating' method}}