diff options
Diffstat (limited to 'test/SemaObjC/property-in-class-extension.m')
| -rw-r--r-- | test/SemaObjC/property-in-class-extension.m | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/SemaObjC/property-in-class-extension.m b/test/SemaObjC/property-in-class-extension.m index 022a487ec6d1..a780a352199e 100644 --- a/test/SemaObjC/property-in-class-extension.m +++ b/test/SemaObjC/property-in-class-extension.m @@ -37,12 +37,11 @@ void FUNC () { @interface rdar8747333 () - (NSObject *)bam; -- (NSObject *)warn; // expected-note {{method 'warn' declared here}} -- (void)setWarn : (NSObject *)val; // expected-note {{method 'setWarn:' declared here}} +- (NSObject *)warn; +- (void)setWarn : (NSObject *)val; @end -@implementation rdar8747333 // expected-warning {{method definition for 'warn' not found}} \ - // expected-warning {{method definition for 'setWarn:' not found}} +@implementation rdar8747333 @synthesize bar = _bar; @synthesize baz = _baz; @synthesize bam = _bam; |
