mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
8 lines
341 B
Swift
8 lines
341 B
Swift
// RUN: %target-typecheck-verify-swift -debug-generic-signatures 2>&1 | %FileCheck %s
|
|
|
|
// CHECK: 65015626.(file).G@
|
|
// CHECK-NEXT: Requirement signature: <Self where Self.[G]Word : FixedWidthInteger, Self.[G]Word == Self.[G]Word.[Numeric]Magnitude>
|
|
public protocol G {
|
|
associatedtype Word: FixedWidthInteger where Word.Magnitude == Word
|
|
}
|