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