blob: 2a24e7e82446d5e878e3f4577a37ea842d685205 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -Werror -verify %s
@interface MyClass {
const char *_myName;
}
@property const char *myName;
- (const char *)myName;
- (void)setMyName:(const char *)name;
@end
@implementation MyClass
@synthesize myName = _myName;
@end