// 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<g>() -> (g, g -> g) -> g {
d j d.i = {
}
{
g) {
h  }
}
protocol f {
}
class d: f{  class func i {}
func a(b: Int = 0) {
}
let c = a
func ^(a: BooleanType, Bool) -> Bool {
}
protocol a {
class b: a {
}
protocol c : b { func b
