1 /* { dg-do compile } */
13 @interface MyProto2 <MyProto1>
14 @required /* { dg-error ".@required. is allowed in @protocol context only" } */
16 @optional /* { dg-error ".@optional. is allowed in @protocol context only" } */
20 @implementation MyProto2