|
| 1 | +// RUN: %target-typecheck-verify-swift -requirement-machine-protocol-signatures=on 2>&1 |
| 2 | + |
| 3 | +protocol FP {} |
| 4 | + |
| 5 | +protocol FPSign { |
| 6 | + associatedtype Positive: FPIntDigit |
| 7 | + associatedtype Negative: FPIntDigit |
| 8 | +} |
| 9 | + |
| 10 | +protocol FPIntDigit: FP { |
| 11 | + associatedtype Zero: FPIntDigit, FPPoint, FPExponent |
| 12 | + associatedtype One: FPIntDigit, FPPoint, FPExponent |
| 13 | + associatedtype Two: FPIntDigit, FPPoint, FPExponent |
| 14 | + associatedtype Three: FPIntDigit, FPPoint, FPExponent |
| 15 | + associatedtype Four: FPIntDigit, FPPoint, FPExponent |
| 16 | + associatedtype Five: FPIntDigit, FPPoint, FPExponent |
| 17 | + associatedtype Six: FPIntDigit, FPPoint, FPExponent |
| 18 | + associatedtype Seven: FPIntDigit, FPPoint, FPExponent |
| 19 | + associatedtype Eight: FPIntDigit, FPPoint, FPExponent |
| 20 | + associatedtype Nine: FPIntDigit, FPPoint, FPExponent |
| 21 | +} |
| 22 | + |
| 23 | +protocol FPPoint: FP { |
| 24 | + associatedtype Point: FPFractionDigit, FPExponent |
| 25 | +} |
| 26 | + |
| 27 | +protocol FPFractionDigit: FP { |
| 28 | + associatedtype Zero: FPFractionDigit, FPExponent |
| 29 | + associatedtype One: FPFractionDigit, FPExponent |
| 30 | + associatedtype Two: FPFractionDigit, FPExponent |
| 31 | + associatedtype Three: FPFractionDigit, FPExponent |
| 32 | + associatedtype Four: FPFractionDigit, FPExponent |
| 33 | + associatedtype Five: FPFractionDigit, FPExponent |
| 34 | + associatedtype Six: FPFractionDigit, FPExponent |
| 35 | + associatedtype Seven: FPFractionDigit, FPExponent |
| 36 | + associatedtype Eight: FPFractionDigit, FPExponent |
| 37 | + associatedtype Nine: FPFractionDigit, FPExponent |
| 38 | +} |
| 39 | + |
| 40 | +protocol FPExponent { |
| 41 | + associatedtype E: FPExponentSign, FPExponentDigit |
| 42 | +} |
| 43 | + |
| 44 | +protocol FPExponentSign { |
| 45 | + associatedtype Positive: FPExponentDigit |
| 46 | + associatedtype Negative: FPExponentDigit |
| 47 | +} |
| 48 | + |
| 49 | +protocol FPExponentDigit: FP { |
| 50 | + associatedtype Zero: FPExponentDigit |
| 51 | + associatedtype One: FPExponentDigit |
| 52 | + associatedtype Two: FPExponentDigit |
| 53 | + associatedtype Three: FPExponentDigit |
| 54 | + associatedtype Four: FPExponentDigit |
| 55 | + associatedtype Five: FPExponentDigit |
| 56 | + associatedtype Six: FPExponentDigit |
| 57 | + associatedtype Seven: FPExponentDigit |
| 58 | + associatedtype Eight: FPExponentDigit |
| 59 | + associatedtype Nine: FPExponentDigit |
| 60 | +} |
| 61 | + |
0 commit comments