1 /* Syntax check for the new foreach statement. */
2 /* { dg-do compile } */
4 typedef struct objc_class *Class;
6 typedef struct objc_object {
14 @implementation MyList
15 - (unsigned int)countByEnumeratingWithState:(struct __objcFastEnumerationState *)state objects:(id *)items count:(unsigned int)stackcount
19 - (void)addObject:object {
24 @interface MyList (BasicTest)
25 - (void)compilerTestAgainst;
30 @implementation MyList (BasicTest)
31 - (void)compilerTestAgainst {