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

@interface MyObject {
    int _foo;
}
@end

@interface MyObject(whatever)
@property (assign) int foo;
@end

@interface MyObject()
@property (assign) int foo;
@end

@implementation MyObject
@synthesize foo = _foo;
@end