blob: 88b924ea3f8256aeca6eb668fde2357e360d85fd [file] [log] [blame]
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -emit-ir -verify %s
class GenericClass<T> { }
protocol MyProtocol { }
class MyClass {
func myFunction<T, O: GenericClass<T>>(myArg: O) -> T where T: MyProtocol {
fatalError()
}
}