blob: af671cffed1acf3c5eabd0b7bb432a5a715c7d3c [file] [log] [blame]
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -emit-ir -verify %s
protocol BaseProtocol {
static func run()
}
protocol DerivedProtocol: BaseProtocol {
}
struct Foo: DerivedProtocol {
static func run() { }
}
@inline(never)
func test() {
let t: DerivedProtocol.Type = Foo.self
t.run()
}