Skip to content

Commit bfe8cc2

Browse files
committed
Merge pull request #665 from practicalswift/sourcekit-046-swift-typechecker-typecheckdecl
[SourceKit] Add test case for crash triggered in swift::TypeChecker::typeCheckDecl(…)
2 parents 8881550 + fb80a39 commit bfe8cc2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// RUN: not --crash %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
2+
// REQUIRES: asserts
3+
let a{s{func b<T{protocol P{let t:T
4+
#^A^#

0 commit comments

Comments
 (0)