1 // RUN: %clang_cc1 -fsyntax-only -verify %s
7 - (void) : (double) arg; // expected-note {{method ':' declared here}}
10 @interface NSImage <P1>
11 - (void) initialize; // expected-note {{method 'initialize' declared here}}
14 @interface NSImage (AirPortUI)
19 - (void) CEMeth; // expected-note {{method 'CEMeth' declared here}}
22 @implementation NSImage (AirPortUI)
23 - (void) initialize {NSImage *p=0; [p initialize]; } // expected-warning {{category is implementing a method which will also be implemented by its primary class}}
24 - (int) PMeth{ return 0; }
25 - (void) : (double) arg{}; // expected-warning {{category is implementing a method which will also be implemented by its primary class}}
26 - (void) CEMeth {}; // expected-warning {{category is implementing a method which will also be implemented by its primary class}}
34 @property (nonatomic, assign, readwrite) BOOL allowsDeleting;
37 @implementation I(CAT)
38 - (BOOL) allowsDeleting { return 1; }