blob: e1c3b95de01df21ab6b9b0f649157b004bd4f365 [file] [log] [blame]
protocol FooBaseProto {}
protocol FooProto: FooBaseProto {}
protocol BarProto {
associatedtype Foo: FooProto
init(foo: Foo)
}
protocol BazProto {
associatedtype Bar: BarProto
init(bar: Bar)
}
struct BarImpl: BarProto {
init(foo: FooImpl) {}
}