Skip to content

Commit d2ada0d

Browse files
committed
Add regression test for fixed crasher
1 parent af6ec5a commit d2ada0d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// RUN: not %target-swift-frontend -typecheck %s
2+
3+
protocol Item {
4+
associatedtype Rule
5+
func isValide(valid: Rule) -> Bool
6+
}
7+
8+
protocol PairableItem: Item {
9+
associatedtype AssociatedItem: PairableItem where AssociatedItem.Rule: Rule
10+
}

0 commit comments

Comments
 (0)