Files
swift-mirror/test/SourceKit/SourceDocInfo/cursor_unavailable.swift
Argyrios Kyrtzidis 8ff6a98a99 [sourcekit] Merge SourceKit into the Swift repo.
The code goes into its own sub-tree under 'tools' but tests go under 'test',
so that running 'check-swift' will also run all the SourceKit tests.

SourceKit is disabled on non-darwin platforms.
2015-11-05 01:09:08 -08:00

9 lines
308 B
Swift

print("")
find([1,2,3],1)
// RUN: %sourcekitd-test -req=cursor -pos=1:1 %s -- %s | FileCheck -check-prefix=CHECK1 %s
// RUN: %sourcekitd-test -req=cursor -pos=2:1 %s -- %s | FileCheck -check-prefix=CHECK2 %s
// CHECK1: source.lang.swift.ref.function.free
// CHECK2-NOT: source.lang.swift.ref.function.free