summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/ContClassPropertyLookup.m
blob: aa5afa7854f04b8b6a2330b573e6a1abaf0aa65c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: clang-cc  -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
OpenPOWER on IntegriCloud