1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
4 - (void) P1proto; // expected-note {{method 'P1proto' declared here}}
5 + (void) ClsP1Proto; // expected-note {{method 'ClsP1Proto' declared here}}
9 - (void) P2proto; // expected-note {{method 'P2proto' declared here}}
10 + (void) ClsP2Proto; // expected-note {{method 'ClsP2Proto' declared here}}
14 - (void) P3proto; // expected-note {{method 'P3proto' declared here}}
15 + (void) ClsP3Proto; // expected-note {{method 'ClsP3Proto' declared here}}
16 + (void) DefClsP3Proto;
19 @protocol PROTO<P1, P3>
20 - (void) meth; // expected-note {{method 'meth' declared here}}
21 - (void) meth : (int) arg1; // expected-note {{method 'meth:' declared here}}
22 + (void) cls_meth : (int) arg1; // expected-note {{method 'cls_meth:' declared here}}
25 @interface INTF <PROTO>
28 @implementation INTF // expected-warning 9 {{in protocol '}}
30 + (void) DefClsP3Proto{}