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

extension String {
struct S {
func g: A where Optional<1 {
func d.advance(self, length: SequenceType> (g.init("]]
class b<d.startIndex, AnyObject) {
case C<h, e: A {
}
protocol A {
typealias E
convenience init()
}
}
struct d<T -> d) -> String {
var d {
class A {
func b() -> Any {
deinit {
}
return "ab"[T : A.Element == b(Any))
