blob: a25b3c03d3578673478d85ba7670503b97d42c92 [file] [log] [blame]
/* APPLE LOCAL file radar 4841013 */
/* Test that no warning of any kind about 'assign' property attribute
is issued when property is 'readonly'. */
/* { dg-options "-fobjc-new-property -mmacosx-version-min=10.5" { target powerpc*-*-darwin* i?86*-*-darwin* } } */
/* { dg-options "-fobjc-new-property" { target arm*-*-darwin* } } */
/* { dg-do compile } */
@class SFSyncSet;
@class SFPeer;
@class SFPHDSyncSet;
@protocol SFFileSyncManager
@property(readonly) SFSyncSet* iDiskSyncSet;
@property(readonly) SFSyncSet* phdSyncSet;
@property(readonly) id syncSetsList;
@end
__attribute__((objc_root_class)) @interface SFFileSyncManager <SFFileSyncManager>
@end
@implementation SFFileSyncManager
@dynamic iDiskSyncSet;
@dynamic phdSyncSet;
@dynamic syncSetsList;
@end