blob: 02b14035a223bd8fbef128a93a33ca5127c9c9cb [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -fsyntax-only -verify
Steve Naroff7d1117d2008-12-17 14:13:49 +00002@interface A
3{
4 int ivar;
5}
6@end
7
8@interface B : A
9- (int)ivar;
10@end
11
12@implementation B
13- (int)ivar {
14 return ivar;
15}
16@end