blob: ebbcded414e93a75364c3d7f8f2ef0f938608afd [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -rewrite-objc %s -o -
Chris Lattner9ed7cfd2008-05-23 23:06:56 +00002
Chris Lattner9ed7cfd2008-05-23 23:06:56 +00003@interface NSMapTable @end
4@interface NSEnumerator @end
5
6typedef 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