Skip to content

Commit b6b113f

Browse files
committed
Merge pull request #973 from practicalswift/swiftc-28202-swift-typechecker-applygenericarguments
[swiftc] Add test case for crash triggered in swift::TypeChecker::applyUnboundGenericArguments(…)
2 parents f9562dd + 3428de1 commit b6b113f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
// REQUIRES: asserts
3+
4+
// Distributed under the terms of the MIT license
5+
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
6+
// Test case found by fuzzing
7+
8+
class B<T{func a{{func g:A}protocol A{typealias e=c<T>struct c<a]typealias d:e

0 commit comments

Comments
 (0)