/* APPLE LOCAL file radar 4805321 */ /* Test for correct name lookup in presence of multiple protocols. */ /* { dg-options "-mmacosx-version-min=10.5 -fobjc-new-property" } */ /* { dg-do compile { target *-*-darwin* } } */ @protocol NSCoding @end @protocol LKObject <NSCoding> @end @protocol LKTiming @property (assign) double duration; @end @interface LKAnimation <LKObject, LKTiming> @end static void test (void) { LKAnimation *anim; anim.duration = 1.0; }