1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
4 @property(readonly) int X; // expected-note {{property declared here}}
8 @property (copy) id ID;
14 @interface I (Cat) <P>
15 @property float X; // expected-warning {{property type 'float' is incompatible with type 'int' inherited from 'P'}}
18 @interface I (Cat2) <P1>
19 @property (retain) id ID; // expected-warning {{'copy' attribute on property 'ID' does not match the property inherited from 'P1'}}
24 @property(assign) int categoryProperty;
27 // Don't issue warning on unimplemented setter/getter
28 // because property is @dynamic.
30 @dynamic categoryProperty;