• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: %clang_cc1  -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -Wsuper-class-method-mismatch -verify %s
2// rdar://11793793
3
4@class NSString;
5
6@interface Super
7@property (nonatomic) NSString *thingy;
8@property () __weak id PROP;
9@end
10
11@interface Sub : Super
12@end
13
14@implementation Sub
15- (void)setThingy:(NSString *)val
16{
17  [super setThingy:val];
18}
19@synthesize PROP;
20@end
21