// RUN: %target-swift-frontend -emit-ir -verify %s class GenericClass { } protocol MyProtocol { } class MyClass { func myFunction>(myArg: O) -> T where T: MyProtocol { fatalError() } }