llvm-project/clang/test/SemaObjC/ContClassPropertyLookup.m

19 lines
262 B
Objective-C

// 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