Skip to content

Commit 0dd03ba

Browse files
committed
Merge pull request #720 from practicalswift/sourcekit-056-swift-archetypebuilder-getallarchetypes
[SourceKit] Add test case for crash triggered in swift::ArchetypeBuilder::getAllArchetypes()
2 parents 70938b1 + e8d48e4 commit 0dd03ba

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

0 commit comments

Comments
 (0)