// RUN: %target-typecheck-verify-swift // RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures 2>&1 | %FileCheck %s public protocol P1 { associatedtype A } public protocol P2 {} public struct S1: P1 { public typealias A = S2 } public struct S2: P2 {} // CHECK-LABEL: Generic signature: public struct G where Y == X.A {} // CHECK-LABEL: Generic signature: public extension G where X == S1 {}