1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 @property(readonly) id z;
9 @property (readonly) id x;
12 @interface MutableFoo : Foo
13 @property (copy) id x;
16 @interface Foo (Cat) <P>
17 @property (copy) id z; // expected-warning {{'copy' attribute on property 'z' does not match the property inherited from 'P'}}