Skip to content

Commit 43d9d7f

Browse files
committed
Add regression test for fixed crasher
1 parent 367e5e2 commit 43d9d7f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test/Generics/rdar119866847.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// RUN: %target-typecheck-verify-swift
2+
3+
protocol P1<A> {
4+
associatedtype A
5+
}
6+
7+
protocol P2<A, B>: P1 {
8+
associatedtype B
9+
}
10+
11+
protocol P3s {
12+
associatedtype A
13+
associatedtype B
14+
15+
typealias SelfP2 = P2<B, B>
16+
}

0 commit comments

Comments
 (0)