mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
178 B
Swift
11 lines
178 B
Swift
// RUN: not %target-swift-frontend -typecheck %s
|
|
|
|
// https://github.com/apple/swift/issues/50996
|
|
|
|
func receive() {}
|
|
func test() {
|
|
receive { (dat: Container<>) in
|
|
dat
|
|
}
|
|
}
|