1 /* { dg-do compile } */
2 // { dg-additional-options "-Wno-objc-root-class" }
14 @interface MyProto2 <MyProto1>
15 @required /* { dg-error ".@required. is allowed in @protocol context only" } */
17 @optional /* { dg-error ".@optional. is allowed in @protocol context only" } */
21 @implementation MyProto2