Files
swift-mirror/validation-test/IDE/crashers_2/0003-complete-default-argument-closure.swift
Slava Pestov 4817bd4214 Add some SourceKit crasher test cases
The unfixed ones were discovered by fuzzing. I have fixes for most
of them in an in-progress PR.

One that was already fixed is just a regression test I'm adding.
2017-04-11 14:26:10 -07:00

5 lines
180 B
Swift

// RUN: not --crash %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
// REQUIRES: asserts
func searchTest(format: ()->String = { "" }#^A^#) {}