// RUN: %target-typecheck-verify-swift class Base { class func f(_ arg: T) -> Int { return 0 } } class Derived : Base {} var a = Derived.f(42) protocol SR9160_EmptyProtocol {} class SR9160_AbstractFoobar {} // This used to cause the swift compiler to never finish compiling. final class SR9160_SomeFoobar: SR9160_AbstractFoobar { enum Foo: SR9160_EmptyProtocol {} }