| // RUN: %clang_cc1 -fsyntax-only -verify %s |
| - (void) : (double) arg; // expected-note {{method ':' declared here}} |
| - (void) initialize; // expected-note {{method 'initialize' declared here}} |
| @interface NSImage (AirPortUI) |
| - (void) CEMeth; // expected-note {{method 'CEMeth' declared here}} |
| @implementation NSImage (AirPortUI) |
| - (void) initialize {NSImage *p=0; [p initialize]; } // expected-warning {{category is implementing a method which will also be implemented by its primary class}} |
| - (int) PMeth{ return 0; } |
| - (void) : (double) arg{}; // expected-warning {{category is implementing a method which will also be implemented by its primary class}} |
| - (void) CEMeth {}; // expected-warning {{category is implementing a method which will also be implemented by its primary class}} |
| @property (nonatomic, assign, readwrite) BOOL allowsDeleting; |
| - (BOOL) allowsDeleting { return 1; } |