1// RUN: %clang_cc1 -fsyntax-only -verify %s
2// expected-no-diagnostics
3
4@protocol MyProto1
5@optional
6- (void) FOO;
7@optional
8- (void) FOO1;
9@required
10- (void) REQ;
11@optional
12@end
13
14@protocol MyProto2 <MyProto1>
15- (void) FOO2;
16@optional
17- (void) FOO3;
18@end
19