// RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures 2>&1 | %FileCheck %s public protocol P1 { associatedtype T } public protocol P2 : P1 {} public protocol P3 : P2 {} public protocol Q1 {} public protocol Q2 : Q1 {} public protocol Q3 : Q1 {} public protocol R { associatedtype U: Q2, Q3 } struct G where X.T == Y.U { // CHECK-LABEL: .G.Nested0@ // CHECK-NEXT: struct Nested0 {} // CHECK-LABEL: .G.Nested1@ // CHECK-NEXT: struct Nested1 where X.T : Q1 {} // CHECK-LABEL: .G.Nested2@ // CHECK-NEXT: struct Nested2 where X.T : Q2 {} // CHECK-LABEL: .G.Nested3@ // CHECK-NEXT: struct Nested3 where X.T : Q3 {} }