Sign in
fuchsia
/
third_party
/
swift
/
039db9ab3204c148bb14d626169ed20ab6ba84e0
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0064-rdar27627862.swift
blob: 4a2e760e841c9dc511e31922d61c47a8ceddc358 [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend %s -emit-ir
enum
Term
<
S
>
where
S
:
Sequence
,
S
.
Iterator
.
Element
==
Term
{
case
Cons
(
head
:
String
,
tail
:
S
)
}
func produce
<
S
>(
s
:
S
)
->
Term
<
S
>
{
return
.
Cons
(
head
:
"hi"
,
tail
:
s
)
}