brintos

brintos / llvm-project-archived public Read only

0
0
Text · 383 B · fa978b8 Raw
21 lines · plain
1// RUN: %clang_cc1  -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -Wsuper-class-method-mismatch -verify %s2// expected-no-diagnostics3 4@class NSString;5 6@interface Super7@property (nonatomic) NSString *thingy;8@property () __weak id PROP;9@end10 11@interface Sub : Super12@end13 14@implementation Sub15- (void)setThingy:(NSString *)val16{17  [super setThingy:val];18}19@synthesize PROP;20@end21