/* APPLE LOCAL file radar 4436866 */ /* This program checks for proper declaration of property. */ /* APPLE LOCAL radar 4899595 */ /* { dg-options "-fno-objc-new-property -mmacosx-version-min=10.5" { target powerpc*-*-darwin* i?86*-*-darwin* } } */ /* { dg-options "-fno-objc-new-property" { target arm*-*-darwin* } } */ /* { dg-do compile { target *-*-darwin* } } */ @interface Bar @end @implementation Bar @property int foo; /* { dg-error "no declaration of property \\'foo\\' found in the interface" } */ @end