blob: 2fbed5bd3cecca69cb15a7173e25e3d085837ff7 [file] [log] [blame]
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=A | %FileCheck %s -check-prefix=A
// Make sure we can code complete at EOF.
// Don't add any tests at the end of the file!
//
// A: Begin completions
// A-DAG: Decl[FreeFunction]/CurrModule: ['(']{#(x): Int#}[')'][#Void#]{{; name=.+$}}
// A: End completions
func f(_ x: Int) {}
f(#^A^#