Files
swift-mirror/test/SourceKit/SourceDocInfo/multiple_ast.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
415 B
Swift

// RUN: %sourcekitd-test -req=cursor -pos=1:8 %S/Inputs/multiple_ast1.swift -- %S/Inputs/multiple_ast1.swift == \
// RUN: -req=cursor -pos=1:8 %S/Inputs/multiple_ast2.swift -- %S/Inputs/multiple_ast2.swift | FileCheck -check-prefix=CHECK %s
// CHECK: source.lang.swift.decl.function.free (1:6-1:18)
// CHECK-NEXT: foo1
// CHECK: source.lang.swift.decl.function.free (1:6-1:18)
// CHECK-NEXT: foo2