2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-11-03 02:45:36 +08:00
|
|
|
|
|
|
|
@interface IDELogNavigator
|
|
|
|
{
|
|
|
|
id selectedObjects;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface IDELogNavigator (CAT)
|
|
|
|
@property (readwrite, retain) id selectedObjects; // expected-note {{property declared here}}
|
|
|
|
@property (readwrite, retain) id d_selectedObjects; // expected-note {{property declared here}}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation IDELogNavigator
|
|
|
|
@synthesize selectedObjects = _selectedObjects; // expected-error {{property declared in category 'CAT' cannot be implemented in class implementation}}
|
|
|
|
@dynamic d_selectedObjects; // expected-error {{property declared in category 'CAT' cannot be implemented in class implementation}}
|
|
|
|
@end
|
|
|
|
|