1 // RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi -verify %s
2 // Do not issue error if 'ivar' used previously belongs to the inherited class
3 // and has same name as @dynalic property in current class.
5 typedef signed char BOOL;
8 @property (readonly) BOOL hasRecursiveDependencyCycle;
11 @protocol IDEBuildableProduct <IDEBuildable>
14 @interface IDEBuildableSupportMixIn
15 @property (readonly) BOOL hasRecursiveDependencyCycle;
18 @interface Xcode3TargetBuildable <IDEBuildable>
20 IDEBuildableSupportMixIn *_buildableMixIn;
24 @interface Xcode3TargetProduct : Xcode3TargetBuildable <IDEBuildableProduct>
27 @implementation Xcode3TargetBuildable
28 - (BOOL)hasRecursiveDependencyCycle
30 return [_buildableMixIn hasRecursiveDependencyCycle];
34 @implementation Xcode3TargetProduct
35 @dynamic hasRecursiveDependencyCycle;