mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
6 lines
197 B
Swift
6 lines
197 B
Swift
print("a")
|
|
|
|
// RUN: %sourcekitd-test -req=syntax-map %s == -req=cursor -pos=1:2 %s -- %s | FileCheck -check-prefix=CHECK1 %s
|
|
// CHECK1: source.lang.swift.ref.function.free ()
|
|
// CHECK1-NEXT: print
|