// RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures 2>&1 | %FileCheck %s // CHECK-LABEL: .P1@ // CHECK-NEXT: Requirement signature: > public protocol P1 { associatedtype G associatedtype B: P2 where B.G == G associatedtype C: P4 where C.G == G associatedtype D: P5 where D.G == G associatedtype E: P6 where E.G == G associatedtype F: P3 where F.Element == SIMD2 } // CHECK-LABEL: .P2@ // CHECK-NEXT: Requirement signature: public protocol P2 { associatedtype G associatedtype A: P1 where A.G == G associatedtype C: P4 where C.G == G associatedtype D: P5 where D.G == G associatedtype E: P6 where E.G == G } // CHECK-LABEL: .P3@ // CHECK-NEXT: Requirement signature: public protocol P3: RandomAccessCollection, MutableCollection where Index == Int {} // CHECK-LABEL: .P4@ // CHECK-NEXT: Requirement signature: public protocol P4 { associatedtype G: SIMDScalar } // CHECK-LABEL: .P5@ // CHECK-NEXT: Requirement signature: public protocol P5 { associatedtype G: SIMDScalar } // CHECK-LABEL: .P6@ // CHECK-NEXT: Requirement signature: public protocol P6 { associatedtype G: SIMDScalar }