1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 - (void) meth : (int) arg1;
6 - (int) int_meth; // expected-note {{method definition for 'int_meth' not found}}
7 + (int) cls_meth; // expected-note {{method definition for 'cls_meth' not found}}
8 + (void) cls_meth1 : (int) arg1; // expected-note {{method definition for 'cls_meth1:' not found}}
11 @implementation INTF // expected-warning {{incomplete implementation}}
13 - (void) meth : (int) arg2{}
14 - (void) cls_meth1 : (int) arg2{}
19 - (void) meth : (int) arg1;
20 - (int) int_meth; // expected-note {{method definition for 'int_meth' not found}}
21 + (int) cls_meth; // expected-note {{method definition for 'cls_meth' not found}}
22 + (void) cls_meth1 : (int) arg1; // expected-note {{method definition for 'cls_meth1:' not found}}
25 @implementation INTF1 // expected-warning {{incomplete implementation}}
27 - (void) meth : (int) arg2{}
28 - (void) cls_meth1 : (int) arg2{}
33 - (void) meth : (int) arg1;
34 - (void) cls_meth1 : (int) arg1;
39 - (void) meth : (int) arg2{}
40 - (void) cls_meth1 : (int) arg2{}