repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Do not warn with -Wuninitialized when the member is used in a sizeof or address-of...
[clang.git]
/
test
/
SemaObjC
/
property-redundant-decl-accessor.m
blob
2a24e7e82446d5e878e3f4577a37ea842d685205
1
// RUN: %clang_cc1 -fsyntax-only -Werror -verify %s
2
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