1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 @interface NSObject @end
5 @protocol DVTInvalidation
6 - (void)invalidate; // expected-note {{method 'invalidate' declared here}}
7 @property int Prop; // expected-note {{property declared here}}
12 @protocol DVTInvalidation;
14 @interface IBImageCatalogDocument : NSObject <DVTInvalidation>
17 @implementation IBImageCatalogDocument // expected-warning {{auto property synthesis will not synthesize property 'Prop' declared in protocol 'DVTInvalidation'}} \
18 // expected-warning {{method 'invalidate' in protocol 'DVTInvalidation' not implemented}}
19 @end // expected-note {{add a '@synthesize' directive}}