mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
552 B
Swift
13 lines
552 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %empty-directory(%t/module-cache)
|
|
// RUN: %target-swift-frontend -scan-dependencies -module-cache-path %t/module-cache %s -o %t/deps.json -I %S/Inputs/CHeaders -I %S/Inputs/Swift -target %target-cpu-apple-macosx10.14 -disable-implicit-concurrency-module-import -disable-implicit-string-processing-module-import
|
|
// RUN: %validate-json %t/deps.json | %FileCheck %s
|
|
|
|
import X
|
|
|
|
// CHECK: "clang": "X"
|
|
// CHECK: "clang": "X"
|
|
// CHECK: "commandLine": [
|
|
// CHECK-DAG: "-fmodule-format=obj"
|
|
// CHECK-DAG: "-dwarf-ext-refs"
|