mirror of
https://github.com/apple/swift.git
synced 2026-09-30 10:17:34 +02:00
This is to keep clang module cache hashes consistent throughout the build and avoid inconsistent hash errors due to the CodeGenOpts changing at the IRGen phase in the middle of a build. https://github.com/swiftlang/swift/issues/86116
7 lines
245 B
Swift
7 lines
245 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: split-file %s %t
|
|
// RUN: %target-swift-frontend -c -emit-module-path %t/Foo.swiftmodule -g -cxx-interoperability-mode=default %t/Test.swift -module-cache-path %t/clang-module-cache
|
|
|
|
//--- Test.swift
|
|
// Empty
|