Skip to content

Commit f925f71

Browse files
committed
Merge pull request #560 from practicalswift/sourcekit-010-swift-archetypebuilder-addrequirement
[SourceKit] Add test case for crash triggered in swift::ArchetypeBuilder::addRequirement(swift::Requirement const&, swift::RequirementSource)
2 parents 1254eaa + b382dcd commit f925f71

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// RUN: not --crash %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
2+
#^A^#{"
3+
protocol c{
4+
func a
5+
typealias b:c
6+
typealias e:c

0 commit comments

Comments
 (0)