1/* APPLE LOCAL file C* language */ 2/* Test use of @optional/@required keywords in @protocol class. */ 3/* { dg-do compile } */ 4 5@protocol MyProto1 6@optional 7- (void) FOO; 8@optional 9- (void) FOO; 10@required 11- (void) REQ; 12@optional 13@end 14 15@protocol MyProto2 <MyProto1> 16- (void) FOO2; 17@optional 18- (void) FOO3; 19@end 20