Sign in
fuchsia
/
third_party
/
swift
/
1a23d426215a3779612ae9b91aa36831594db793
/
.
/
test
/
Constraints
/
collection-of-function.swift
blob: bec4a605f5df68d1868db9ab6636455a0e8ac106 [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend -typecheck -verify %s
func foo
(
_
:[()
->
()]){}
func foo
(
_
:[()
throws
->
()]){}
func x
()
{}
var
bs
=
[
x
]
foo
(
bs
)