mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
427 B
Swift
14 lines
427 B
Swift
// RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures 2>&1 | %FileCheck %s
|
|
|
|
// CHECK-LABEL: identity_conformance.(file).P1@
|
|
// CHECK: Requirement signature: <Self where Self == Self.[P1]X>
|
|
protocol P1 {
|
|
associatedtype X : P1 where X == Self
|
|
}
|
|
|
|
// CHECK-LABEL: identity_conformance.(file).P2@
|
|
// CHECK: Requirement signature: <Self where Self == Self.[P2]X>
|
|
protocol P2 {
|
|
associatedtype X where X == Self
|
|
}
|