interface-layout-2.m 197 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 // 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