blob: e8b5bd8e701bb09293b784a7b1b31054167bce12 [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: Pattern/ExprSpecific: ['(']{#(x): Int#})[#Void#]{{; name=.+$}}
// A: End completions
func f(_ x: Int) {}
f(#^A^#