blob: 2d980ab1a2db13c3aa06d9774776f654c5b507bc [file] [log] [blame]
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=A | %FileCheck %s -check-prefix=A
// rdar://14585132
// Make sure we can resolve function parameters if function body is missing the
// right brace.
// Don't add any tests at the end of the file!
//
// A: Begin completions
// A-DAG: Decl[InstanceMethod]/CurrNominal: a()[#Void#]{{; name=.+$}}
// A: End completions
struct FooStruct {
func a() {}
}
func f(foo: FooStruct) {
foo.#^A^#