| 1 |
// RUN: %clang_cc1 -fsyntax-only -verify %s |
| 2 |
|
| 3 |
@interface NSObject @end |
| 4 |
|
| 5 |
@interface DBGViewDebuggerSupport : NSObject |
| 6 |
+ (void)addViewLayerInfo:(id)view; |
| 7 |
- (void)addInstViewLayerInfo:(id)view; |
| 8 |
@end |
| 9 |
|
| 10 |
@interface DBGViewDebuggerSupport_iOS : DBGViewDebuggerSupport |
| 11 |
@end |
| 12 |
|
| 13 |
@implementation DBGViewDebuggerSupport_iOS |
| 14 |
+ (void)addViewLayerInfo:(id)aView; |
| 15 |
{ |
| 16 |
[super addViewLayerInfo:view]; // expected-error {{use of undeclared identifier 'view'}} |
| 17 |
} |
| 18 |
- (void)addInstViewLayerInfo:(id)aView; |
| 19 |
{ |
| 20 |
[super addInstViewLayerInfo:view]; // expected-error {{use of undeclared identifier 'view'}} |
| 21 |
} |
| 22 |
@end |