summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/no-warn-synth-protocol-meth.m
blob: fed6b27652ea6adcca7efa2ade007daee30baa33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: %clang_cc1  -fsyntax-only -verify %s

@protocol CYCdef
- (int)name;
@end

@interface JSCdef <CYCdef> {
    int name;
}

@property (assign) int name;
@end

@implementation JSCdef
@synthesize name;
@end