// RUN: %target-typecheck-verify-swift protocol P { associatedtype A } struct Straint where C.A : P { typealias X = Any } protocol Q : Straint.X {} // expected-error {{type 'Self' does not conform to protocol 'P'}}