Files
swift-mirror/validation-test/Sema/generic_function_signature.swift
2020-01-09 14:10:37 -03:00

12 lines
189 B
Swift

// RUN: %target-swift-frontend -typecheck %s
enum E<T> {}
protocol P {
associatedtype T
var closure: () -> E<T> { get }
}
struct Concrete<Value>: P {
let closure: () -> E<Value>
}