summaryrefslogtreecommitdiff
path: root/test/SemaObjC/ContClassPropertyLookup.m
blob: 46bcc5365fdd86573548a02fc8a09f4d79c89809 (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