1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 @interface NSObject @end
5 @interface DBGViewDebuggerSupport : NSObject
6 + (void)addViewLayerInfo:(id)view;
7 - (void)addInstViewLayerInfo:(id)view;
10 @interface DBGViewDebuggerSupport_iOS : DBGViewDebuggerSupport
13 @implementation DBGViewDebuggerSupport_iOS
14 + (void)addViewLayerInfo:(id)aView; // expected-note {{'aView' declared here}}
16 [super addViewLayerInfo:view]; // expected-error {{use of undeclared identifier 'view'; did you mean 'aView'?}}
18 - (void)addInstViewLayerInfo:(id)aView; // expected-note {{'aView' declared here}}
20 [super addInstViewLayerInfo:view]; // expected-error {{use of undeclared identifier 'view'; did you mean 'aView'?}}