blob: 1fe0c75850cf4b72a49e2be81343a6b3527d9528 [file] [log] [blame]
Chris Lattner9ed7cfd2008-05-23 23:06:56 +00001// RUN: clang -rewrite-objc %s -o =-
2
3#include <objc/objc.h>
4
5@interface NSMapTable @end
6@interface NSEnumerator @end
7
8typedef unsigned int NSUInteger;
9
10@interface NSConcreteMapTable : NSMapTable {
11@public
12 NSUInteger capacity;
13}
14@end
15
16@interface NSConcreteMapTableValueEnumerator : NSEnumerator {
17 NSConcreteMapTable *mapTable;
18}
19@end
20
21@implementation NSConcreteMapTableValueEnumerator
22
23- nextObject {
24 while (mapTable->capacity) {
25 }
26 return 0;
27}
28@end
29