Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 @interface B
      4 +(int) classGetter;
      5 -(int) getter;
      6 @end
      7 
      8 @interface A : B
      9 @end
     10 
     11 @implementation A
     12 +(int) classGetter {
     13   return 0;
     14 }
     15 
     16 +(int) classGetter2 {
     17   return super.classGetter;
     18 }
     19 
     20 -(void) method {
     21   int x = super.getter;
     22 }
     23 @end
     24 
     25 void f0() {
     26   // FIXME: not implemented yet.
     27   //int l1 = A.classGetter;
     28   int l2 = [A classGetter2];
     29 }
     30 
     31