mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Otherwise the scanner will attempt to locate such a module on the filesystem and fail, because it does not exist.
11 lines
351 B
Swift
11 lines
351 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %empty-directory(%t/clang-module-cache)
|
|
|
|
// RUN: %target-swift-frontend -scan-dependencies -module-cache-path %t/clang-module-cache %s -o %t/deps.json -I %S/Inputs/CHeaders -I %S/Inputs/Swift -verify
|
|
// RUN: %validate-json %t/deps.json | %FileCheck %s
|
|
|
|
import HasBuiltinImport
|
|
|
|
// CHECK: "mainModuleName": "deps"
|
|
|