1 // RUN: %clang_cc1 -fsyntax-only %s
3 typedef struct objc_class *Class;
4 typedef struct objc_object {
14 @implementation MyList
15 - (unsigned int)countByEnumeratingWithState: (struct __objcFastEnumerationState *)state objects: (id *)items count:(unsigned int)stackcount
21 @interface MyList (BasicTest)
22 - (void)compilerTestAgainst;
25 @implementation MyList (BasicTest)
26 - (void)compilerTestAgainst {
30 for (MyList *elem in self)
32 for (id<P> se in self)