llvm-project/clang/test/SemaObjC/synthesized-ivar.m

14 lines
175 B
Objective-C

// RUN: clang-cc -fsyntax-only -fobjc-nonfragile-abi -verify %s
@interface I
{
}
@property int IP;
@end
@implementation I
@synthesize IP;
- (int) Meth {
return IP;
}
@end