blob: 266494937e66380012ace7da145d1c17bb514a3a [file] [log] [blame]
// RUN: not %target-swift-frontend %s -emit-ir
struct DefaultAssociatedType {
}
protocol Protocol {
associatedtype AssociatedType = DefaultAssociatedType
init(object: AssociatedType)
}
final class Conformance: Protocol {
private let object: AssociatedType
init(object: AssociatedType) {
self.object = object
}
}