Skip to content

Commit 74e9668

Browse files
authored
Merge pull request swiftlang#80349 from slavapestov/test-rdar119866847
Add regression test for fixed crasher
2 parents d1737b9 + 43d9d7f commit 74e9668

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)