Skip to content

Commit a28d2e9

Browse files
committed
Merge pull request #663 from practicalswift/sourcekit-045-swift-protocoldecl-requiresclassslow
[SourceKit] Add test case for crash triggered in swift::ProtocolDecl::requiresClassSlow()
2 parents aa951aa + 05d3074 commit a28d2e9

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-ide-test -code-completion -code-completion-token=A -source-filename=%s
2+
// REQUIRES: asserts
3+
protocol A{
4+
extension{protocol c{
5+
func a
6+
protocol e{protocol A{typealias e:a extension{protocol P{#^A^#
7+
func b
8+
<H:o

0 commit comments

Comments
 (0)