1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
3 // Do not issue error if 'ivar' used previously belongs to the inherited class
4 // and has same name as @dynalic property in current class.
6 typedef signed char BOOL;
9 @property (readonly) BOOL hasRecursiveDependencyCycle;
12 @protocol IDEBuildableProduct <IDEBuildable>
15 @interface IDEBuildableSupportMixIn
16 @property (readonly) BOOL hasRecursiveDependencyCycle;
19 @interface Xcode3TargetBuildable <IDEBuildable>
21 IDEBuildableSupportMixIn *_buildableMixIn;
25 @interface Xcode3TargetProduct : Xcode3TargetBuildable <IDEBuildableProduct>
28 @implementation Xcode3TargetBuildable
29 - (BOOL)hasRecursiveDependencyCycle
31 return [_buildableMixIn hasRecursiveDependencyCycle];
35 @implementation Xcode3TargetProduct
36 @dynamic hasRecursiveDependencyCycle;