blob: 594e1b1629a917559e96bb3cd6ef31a1572f5fde [file] [log] [blame]
Fariborz Jahanian43cb9a02009-12-14 17:47:10 +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