1 /* { dg-do compile } */
2 /* { dg-additional-options "-Wno-return-type" } */
4 /* We used to ICE because we removed the cast to List_linked*
5 in -[ListIndex_linked next]. */
14 @interface ListIndex_linked
22 @interface List_linked: List
28 @implementation ListIndex_linked
31 link = ((List_linked*)collection)->firstLink;