Skip to content

Commit daa2976

Browse files
committed
Merge pull request #1091 from practicalswift/swiftc-28238-swift-typechecker-validatedecl
[swiftc] Add test case for crash triggered in swift::TypeChecker::validateDecl(…)
2 parents 5a951f9 + 63d0331 commit daa2976

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:B{class B<class b{}func b(T.B

0 commit comments

Comments
 (0)