[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / SemaObjC / forward-protocol-incomplete-impl-warn.m
blobb1628b3596fb2a79a80a575f5c334ca5aa931e3c
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}}
8 @end
12 @protocol DVTInvalidation;
14 @interface IBImageCatalogDocument : NSObject <DVTInvalidation>
15 @end
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}}