Sign in
fuchsia
/
third_party
/
swift
/
0130407e2119dd1e302aaddbb7c1399647ebfc6f
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0051-sr3212.swift
blob: ecead9e352552933b02050a45cdc6909d84115bc [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend %s -emit-silgen
protocol
CType
{
init
()
}
protocol
BType
{
associatedtype C
:
CType
}
protocol A
{
associatedtype B
:
BType
typealias C
=
B
.
C
}
func test
<
T
:
A
>(
_ a
:
T
)
->
T
.
C
{
return
T
.
C
()
}