// 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

struct S<T> : A<T -> {
enum b {
protocol a {
func c<j : c, U.init(Any) {
}
}
class A {
protocol c {
protocol B {
}
}
}
let h: T> () {
0.substringWithRange() -> U : c() {
class a {
class A : A<h.advance() -> {
}
}
}
}
}
extension NSSet {
}
}
protocol A : BooleanType, U.h
