Files
swift-mirror/test/Concurrency/sendable_cycle.swift

11 lines
211 B
Swift

// RUN: %target-typecheck-verify-swift %S/Inputs/sendable_cycle_other.swift -disable-availability-checking
// REQUIRES: concurrency
struct Bar {
lazy var foo = {
self.x()
}
func x() -> Int { 42 }
}