Files
swift-mirror/validation-test/compiler_crashers_2_fixed/rdar94976378.swift
2022-06-14 10:57:29 -07:00

15 lines
201 B
Swift

// RUN: %target-swift-frontend -typecheck %s
// REQUIRES: concurrency
@available(SwiftStdlib 5.1, *)
extension Actor {
func f() { }
func g(a: [Int]) {
a.forEach { i in
f()
}
}
}