[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / clang / test / SemaObjC / nowarn-superclass-method-mismatch.m
blobd522e899eb0b96eb84e5e8ea0fb430990451c51a
1 // RUN: %clang_cc1  -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -Wsuper-class-method-mismatch -verify %s
2 // expected-no-diagnostics
3 // rdar://11793793
5 @class NSString;
7 @interface Super
8 @property (nonatomic) NSString *thingy;
9 @property () __weak id PROP;
10 @end
12 @interface Sub : Super
13 @end
15 @implementation Sub
16 - (void)setThingy:(NSString *)val
18   [super setThingy:val];
20 @synthesize PROP;
21 @end