// RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures 2>&1 | %FileCheck %s // https://github.com/apple/swift/issues/49901 // CHECK-LABEL: .P@ // CHECK-LABEL: protocol P { associatedtype A: Q where A.B == Self } // CHECK-LABEL: .Q@ // CHECK-LABEL: protocol Q { associatedtype B: P where B.A == Self associatedtype C: P where C.A == Self }