1 /* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, November 2010. */
2 /* { dg-do compile } */
3 /* { dg-options "-Wno-property-assign-default" } */
7 /* Test that -Wno-property-assign-default turns off all "object
8 property xxx has no assign, return or copy attribute" warnings. */
10 @interface MyRootClass
15 @property id property_a; /* Would normally generate a warning. */
16 @property (readonly) id property_b;
17 @property id *property_c;
18 @property Class property_d;
19 @property MyRootClass *property_e; /* Would normally generate a warning. */