Files
swift-mirror/test/Driver/loaded_module_trace_self_cycle.swift
Artem Chikin 2905433c6f Emit module trace atomically.
Ensure that we only have one writer to the module trace file at a time by using LLVM's `LockFileManager` utilities, similarly to `ModuleInterfaceBuilder`

Resolves rdar://76743462
2021-10-26 14:59:12 -07:00

5 lines
218 B
Swift

// Check that this doesn't crash due to a self-cycle. rdar://67435472
// RUN: %target-swift-frontend %s -emit-module -o /dev/null -emit-loaded-module-trace-path - -I %S/Inputs/imported_modules/SelfImport
import Outer