// RUN: not %target-swift-frontend %s -parse

// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing

func f<r>() -> (r, r -> r) -> r {
f r f.j = {
}
{
r) {
s  }
}
protocol f {
}
class f: f{  class func j {}
protocol j {
class func m()
}
class r: j {
class func m() { }
}
protocol r {
}
s m {
func q() {
}
}
func f() {
}
func f<T : BooleanType>(b: T) {
}
c i<k : i> {
}
c i: i {
}
c e : l {
}
}
protocol a {
}
protocol h : a {
}
protocol k : a {
}
protocol g {
}
struct n : g {
}
func i<h : h, f : g m f.n == h> (g: f) {
n}
struct d<f : e, g: e where g.h ==ay) {
}
}
import Foundation
