diff options
Diffstat (limited to 'test/SemaObjC/super-class-protocol-conformance.m')
-rw-r--r-- | test/SemaObjC/super-class-protocol-conformance.m | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/SemaObjC/super-class-protocol-conformance.m b/test/SemaObjC/super-class-protocol-conformance.m index ac8bc70..f555c32 100644 --- a/test/SemaObjC/super-class-protocol-conformance.m +++ b/test/SemaObjC/super-class-protocol-conformance.m @@ -45,3 +45,19 @@ @interface SubClass5 : SubClass4 <NewProtocol> @end @implementation SubClass5 @end // expected-note {{implementation is here}} + +// Radar 8035776 +@protocol SuperProtocol +@end + +@interface Super <SuperProtocol> +@end + +@protocol ProtocolWithProperty <SuperProtocol> +@property (readonly, assign) id invalidationBacktrace; // expected-warning {{property 'invalidationBacktrace' requires method 'invalidationBacktrace' to be defined}} +@end + +@interface INTF : Super <ProtocolWithProperty> +@end + +@implementation INTF @end // expected-note {{implementation is here}} |