blob: b6990824d47401c3b73582d82056438c344d8694 [file] [log] [blame]
// RUN: not %target-swift-frontend -typecheck %s
@objc protocol Foo {
associatedtype Bar
var property: Generic<Bar> { get }
}
class Generic<Element> {
}
class FooImpl<T>: NSObject, Foo {
let property: Generic<T>
}