Home | History | Annotate | Download | only in PCH
      1 // RUN: %clang_cc1 -x objective-c %s -emit-pch -o %t
      2 // RUN: %clang_cc1 -x objective-c %s -emit-pch -o %t -D IMPL
      3 
      4 // Avoid infinite loop because of method redeclarations.
      5 
      6 @interface Foo
      7 -(void)meth;
      8 -(void)meth;
      9 -(void)meth;
     10 @end
     11 
     12 #ifdef IMPL
     13 
     14 @implementation Foo
     15 -(void)meth { }
     16 @end
     17 
     18 #endif
     19