YouCompleteMe/cpp/llvm/tools/clang/test/SemaObjC/interface-layout-2.m

17 lines
170 B
Mathematica
Raw Normal View History

// RUN: %clang_cc1 %s -fsyntax-only -verify
@interface A
{
int ivar;
}
@end
@interface B : A
- (int)ivar;
@end
@implementation B
- (int)ivar {
return ivar;
}
@end