1 /* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, November 2010. */
2 /* { dg-do compile } */
4 /* Test case when an accessor from a @property matches a method
5 required by a protocol. If the @property is @dynamic, then no
6 warning should be generated. */
9 #include <objc/runtime.h>
16 @interface MyRootClass <Count>
23 @implementation MyRootClass
24 /* This @dynamic turns off any warnings for -count and -setCount:. */