1 // RUN: %clang_cc1 %s -fsyntax-only -verify 2 @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 17