blob: 17e34d4681bde056d6ebeacf6b09672cf41f2363 [file] [log] [blame]
// RUN: %clang_cc1 %s -fsyntax-only -verify
// expected-no-diagnostics
@interface A
{
int ivar;
}
@end
@interface B : A
- (int)ivar;
@end
@implementation B
- (int)ivar {
return ivar;
}
@end