[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / SemaObjC / undef-arg-super-method-call.m
blob11fd97f2c00d819b6c6fb3df51f5b4f2cca57eb1
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;
8 @end
10 @interface DBGViewDebuggerSupport_iOS : DBGViewDebuggerSupport
11 @end
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'?}}
22 @end