blob: f460e3d3eef79e8865fc0be3832e129d75bb3edd [file] [log] [blame]
// RUN: %target-swift-frontend %s -emit-ir
// rdar://20985062
class A {
func foo(_ a: [(x: Int, y: Double)]) {}
}
func accept<T>(_ t: T.Type, _ value: inout T) {}
typealias TheType = (A) -> ([(x: Int, y: Double)]) -> ()
var curried = A.foo
accept(TheType.self, &curried)