Skip to content

Commit e11bc86

Browse files
committed
Merge pull request #1213 from practicalswift/swiftc-28249-swift-typechecker-validategenericfuncsignature
[swiftc] Add test case for crash triggered in swift::TypeChecker::validateGenericFuncSignature(…)
2 parents cb87705 + 824c806 commit e11bc86

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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 S<T:S{func g:T.g
9+
func g

0 commit comments

Comments
 (0)