1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
9 @interface A : NSObject
10 @property (assign) NSObject<P1> *prop;
17 @property (assign) NSObject<P2> *prop;
20 @interface C<T> : NSObject
24 @property (nonatomic,readonly,nonnull) C<D *> *property;
28 @property (nonatomic, setter=_setProperty:) C *property; // okay