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