Sign in
fuchsia
/
third_party
/
swift
/
c7ca64b5cbc8c05fb7fefda25f24a5d27900c997
/
.
/
validation-test
/
Sema
/
type_checker_crashers_fixed
/
rdar27249691.swift
blob: f9eb62ce06fd889d1e4b62ae8d3390336ab82d81 [
file
] [
log
] [
blame
]
// RUN: not %target-swift-frontend %s -typecheck
infix
operator
~>
:
BitwiseShiftPrecedence
struct
F
{}
protocol P
{
associatedtype R
func X
()
->
R
static
func
~>
(:
Self
,
_
:
F
)
->
R
}
func
~>
<
T
:
P
>
(:
T
,
_
:
F
)
->
T
.
R
{
return
X
()
}