blob: 83c8d9501f0c04d397159e7cbae0ef8cded3331c [file] [log] [blame]
protocol Proto {
var prop: Int { get set }
}
extension Proto {
func method() {}
}
var globalExistential: Proto {
fatalError()
}
protocol ClassProtoBase: AnyObject {
var baseProp: Int { get set }
}
protocol ClassProto: ClassProtoBase {
var prop: Int { get set }
}
func getClassExistential() -> ClassProto? {
fatalError()
}