blob: 2a24e7e82446d5e878e3f4577a37ea842d685205 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -Werror -verify %s
Fariborz Jahanian91b51a92008-12-09 22:43:22 +00002
3@interface MyClass {
4 const char *_myName;
5}
6
7@property const char *myName;
8
9- (const char *)myName;
10- (void)setMyName:(const char *)name;
11
12@end
13
14@implementation MyClass
15
16@synthesize myName = _myName;
17
18@end