blob: 2d68d98ee60af0be4399dcc72585e530f176082d [file] [log] [blame]
// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s | %FileCheck %s
// RUN: %target-swift-ide-test -code-completion -code-completion-token=B -source-filename=%s | %FileCheck %s
func test1() {
1 + [0]#^A^#
}
func test2() {
"" + [""]#^B^#
}
// Sanity check results.
// CHECK: Decl[InstanceVar]/CurrNominal/IsSystem: .startIndex[#Int#]; name=startIndex