Files
swift-mirror/test/Frontend/batch_mode_missing_module_trace_output.swift
Xi Ge 1b1fae56cc Frontend: allow specifying only one module trace output path in batch mode
We only need one primary file to emit the module trace file.

rdar://72261567
2020-12-12 15:46:13 -08:00

6 lines
313 B
Swift

// RUN: %empty-directory(%t)
// RUN: touch %t/file-01.swift
// RUN: touch %t/file-02.swift
// RUN: cd %t
// RUN: %target-swift-frontend -emit-module -primary-file file-01.swift -primary-file file-02.swift -o file-01.swiftmodule -o file-02.swiftmodule -module-name foo -emit-loaded-module-trace-path=%t/trace.json