mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
559 B
Swift
10 lines
559 B
Swift
// RUN: %empty-directory(%t.dir)
|
|
// RUN: %empty-directory(%t.dir/test.playground)
|
|
// RUN: echo "let foo_blah = 0" > %t.dir/input.swift
|
|
// RUN: echo "" >> %t.dir/input.swift
|
|
// RUN: ln -s %t.dir/test.playground %t.dir/linked.playground
|
|
// RUN: %sourcekitd-test -req=complete -pos=2:1 -text-input %t.dir/input.swift %t.dir/test.playground -- %t.dir/test.playground | %FileCheck %s
|
|
// RUN: %sourcekitd-test -req=complete -pos=2:1 -text-input %t.dir/input.swift %t.dir/linked.playground -- %t.dir/linked.playground | %FileCheck %s
|
|
|
|
// CHECK: key.name: "foo_blah"
|