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