Skip to content

Commit 6ee3802

Browse files
committed
Merge pull request swiftlang#1489 from practicalswift/swiftc-28257-swift-typechecker-resolvetypewitness
[swiftc] Add test case for crash triggered in swift::TypeChecker::resolveTypeWitness(…)
2 parents aa76b9a + 3148d6e commit 6ee3802

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// Distributed under the terms of the MIT license
4+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
5+
// Test case found by fuzzing
6+
7+
protocol A{
8+
class A:a{
9+
}
10+
typealias e:a
11+
protocol a{
12+
typealias r
13+
}
14+
typealias e:A

0 commit comments

Comments
 (0)