1 // RUN: %clang_cc1 -fsyntax-only -Wno-objc-root-class -verify %s
4 @property(readonly,assign) id X;
8 @property(readonly,retain) id X;
12 @property(readonly,copy) id X;
16 @property(readonly,readwrite) id X; // expected-error {{property attributes 'readonly' and 'readwrite' are mutually exclusive}}
20 @property(assign,copy) id X; // expected-error {{property attributes 'assign' and 'copy' are mutually exclusive}}
24 @property(assign,retain) id X; // expected-error {{property attributes 'assign' and 'retain' are mutually exclusive}}
28 @property(copy,retain) id X; // expected-error {{property attributes 'copy' and 'retain' are mutually exclusive}}
31 @interface I0 <P0> @end
36 @interface I1 <P1> @end
41 @interface I2 <P2> @end
46 @interface I3 <P3> @end
51 @interface I4 <P4> @end
56 @interface I5 <P5> @end
61 @interface I6 <P6> @end