Home | History | Annotate | Download | only in Rewriter
      1 // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5  %s -o -
      2 
      3 @interface NSMapTable @end
      4 @interface NSEnumerator @end
      5 
      6 typedef unsigned int NSUInteger;
      7 
      8 @interface NSConcreteMapTable : NSMapTable {
      9 @public
     10     NSUInteger capacity;
     11 }
     12 @end
     13 
     14 @interface NSConcreteMapTableValueEnumerator : NSEnumerator {
     15     NSConcreteMapTable *mapTable;
     16 }
     17 @end
     18 
     19 @implementation NSConcreteMapTableValueEnumerator
     20 
     21 - nextObject {
     22     while (mapTable->capacity) {
     23     }
     24     return 0;
     25 }
     26 @end
     27 
     28