Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/tf-merge-2020-09-11
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
sr10992.swift
blob: 007bad710590550c5121d52e0b1ec33483757a29 [
file
] [
log
] [
blame
]
// RUN: not %target-swift-frontend -typecheck %s
protocol P
{}
struct
S
<
T
>
{}
extension S
:
P
where
T
:
P
{}
func foo
(
_ fn
:
(
S
<
String
>)
->
Void
)
{}
func bar
(
_ fn
:
(
P
)
->
Void
)
{
foo
(
fn
)
}