// RUN: %target-typecheck-verify-swift class Base { class func f(_ arg: T) -> Int { return 0 } } class Derived : Base {} var a = Derived.f(42) // https://github.com/apple/swift/issues/51655 protocol EmptyProtocol {} class AbstractFoobar {} // This used to cause the swift compiler to never finish compiling. final class SomeFoobar: AbstractFoobar { enum Foo: EmptyProtocol {} }