// RUN: %target-swift-frontend -typecheck -verify %s // This used to hit a circularity. public protocol P {} public struct G {} public typealias A = G public protocol Circle { associatedtype X : P associatedtype Y where Y == A }