Sign in
fuchsia
/
third_party
/
swift
/
254be25f4d0a3dd2645af850910980e608226d0c
/
.
/
test
/
Constraints
/
rdar39931475.swift
blob: 5962726dfb081159b8b077742906a3f93b88b15e [
file
] [
log
] [
blame
]
// RUN: %target-typecheck-verify-swift
protocol P
{
func b
(
i
:
@escaping
(
inout
Int
)
->
Double
)
}
func foo
<
T
:
P
>(
_ bar
:
T
)
{
_
=
bar
.
b
{
a
in
Double
((
a
,
a
+=
1
).
0
)
}
}