// RUN: %target-typecheck-verify-swift -debug-generic-signatures 2>&1 | %FileCheck %s // https://github.com/apple/swift/issues/54555 // CHECK-LABEL: .Swappable1@ // CHECK-NEXT: Requirement signature: protocol Swappable1 { associatedtype A associatedtype B associatedtype Swapped : Swappable1 where Swapped.B == A, Swapped.A == B, Swapped.Swapped == Self } // CHECK-LABEL: .Swappable2@ // CHECK-NEXT: Requirement signature: protocol Swappable2 { associatedtype A associatedtype B associatedtype Swapped : Swappable2 where Swapped.B == A, Swapped.Swapped == Self } // CHECK-LABEL: .Swappable3@ // CHECK-NEXT: Requirement signature: protocol Swappable3 { associatedtype A associatedtype B associatedtype Swapped : Swappable3 where Swapped.A == B, Swapped.Swapped == Self }