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

@protocol CYCdef
- (int)name;
@end

@interface JSCdef <CYCdef> {
    int name;
}

@property (assign) int name;
@end

@implementation JSCdef
@synthesize name;
@end

OpenPOWER on IntegriCloud