Skip to content

Commit 5acd795

Browse files
committed
Add regression test for recently-fixed crasher
1 parent 8edf426 commit 5acd795

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: not %target-swift-frontend -emit-ir %s
2+
3+
public protocol ProtoDelegate where Self.Manager.Delegate: Self {
4+
associatedtype Manager: ProtoManager
5+
func bind(to: Manager)
6+
}
7+
8+
public protocol ProtoManager where Self.Delegate.Manager: Self {
9+
associatedtype Delegate: ProtoDelegate
10+
var name: String { get }
11+
}

0 commit comments

Comments
 (0)