1 // RUN: %clang_cc1 -verify -Wno-objc-root-class %s 2 // expected-no-diagnostics 3 4 @protocol MyProto1 5 @optional 6 - (void) FOO; 7 @optional 8 - (void) FOO1; 9 @optional 10 - (void) REQ; 11 @optional 12 @end 13 14 @interface MyProto2 <MyProto1> 15 - (void) FOO2; 16 - (void) FOO3; 17 @end 18 19 @implementation MyProto2 20 - (void) FOO2{} 21 - (void) FOO3{} 22 @end 23