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.
10 lines
448 B
Swift
10 lines
448 B
Swift
// RUN: rm -rf %t
|
|
// RUN: mkdir -p %t
|
|
// RUN: %swift -emit-module -o %t %S/Inputs/cycle-depend/A.swift -I %S/Inputs/cycle-depend -enable-source-import
|
|
|
|
// RUN: not %sourcekitd-test -req=index %t/A.swiftmodule -- %t/A.swiftmodule 2>&1 | FileCheck %s
|
|
|
|
// FIXME: Report the reason we couldn't load a module.
|
|
// CHECK-DISABLED: error response (Request Failed): missing module dependency
|
|
// CHECK: error response (Request Failed): failed to load module
|