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
blob2a24e7e82446d5e878e3f4577a37ea842d685205
1 // RUN: %clang_cc1 -fsyntax-only -Werror -verify %s
3 @interface MyClass {
4     const char  *_myName;
7 @property const char *myName;
9 - (const char *)myName;
10 - (void)setMyName:(const char *)name;
12 @end
14 @implementation MyClass
16 @synthesize myName = _myName;
18 @end