Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-5.0-DEVELOPMENT-SNAPSHOT-2019-01-04-a
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0142-rdar36549499.swift
blob: 14b6c741c369f844732adaccf146ba6703958971 [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend %s -emit-ir -o /dev/null
protocol S
{
associatedtype I
:
IteratorProtocol
typealias E
=
I
.
Element
}
func foo
<
T
:
S
>(
_ s
:
T
)
->
Int
where
T
.
E
==
Int
{
return
42
}