// RUN: not %target-swift-frontend -typecheck %s protocol P { associatedtype T } class G { init(_: T.T) {} } class Sub : G {} struct S : P {} Sub()