mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The one called _no_newline should probably be the one without a newline. Thanks Jordan for noticing! Swift SVN r32768
11 lines
371 B
Swift
11 lines
371 B
Swift
// 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: ['(']{#Int#})[#Void#]{{; name=.+$}}
|
|
// A: End completions
|
|
func f(x: Int) {}
|
|
f(#^A^#
|