1 /* Do not lose references to forward-declared protocols. */
2 /* { dg-do compile } */
4 @class MyClassThatFails;
7 @interface MyClassThatFails
8 - (MyBaseClass<_MyProtocol> *) aMethod;
11 @interface MyBaseClass
17 @implementation MyClassThatFails
18 - (MyBaseClass<_MyProtocol> *) aMethod