URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [objc.dg/] [comp-types-7.m] - Rev 309
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* We used to ICE because we removed the cast to List_linked* in -[ListIndex_linked next]. */ @interface List { @public int firstLink; } @end @interface ListIndex_linked { @public List *collection; int link; } @end @interface List_linked: List @end @implementation List @end @implementation ListIndex_linked - next { link = ((List_linked*)collection)->firstLink; } @end
Go to most recent revision | Compare with Previous | Blame | View Log