Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0011-rdar20985062.swift
2016-02-26 12:02:29 -08:00

15 lines
274 B
Swift

// 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)