// 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 class e { var _ = d() { class A { class func a() -> Self { } } func b(t: AnyObject.Type) -> T! { } } class d : e { } class d { } protocol i { } protocol e { } protocol i : d { func d