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
256 B
Swift
6 lines
256 B
Swift
// RUN: rm -rf %t.mod
|
|
// RUN: mkdir %t.mod
|
|
// RUN: %swift -emit-module -o %t.mod/cake.swiftmodule %S/Inputs/cake.swift -parse-as-library
|
|
// RUN: %sourcekitd-test -req=doc-info -module cake -- -I %t.mod > %t.response
|
|
// RUN: diff -u %s.response %t.response
|