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; // expected-note {{'aView' declared here}} 15{ 16 [super addViewLayerInfo:view]; // expected-error {{use of undeclared identifier 'view'; did you mean 'aView'?}} 17} 18- (void)addInstViewLayerInfo:(id)aView; // expected-note {{'aView' declared here}} 19{ 20 [super addInstViewLayerInfo:view]; // expected-error {{use of undeclared identifier 'view'; did you mean 'aView'?}} 21} 22@end 23