URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [objc.dg/] [comp-types-8.m] - Rev 316
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* Another gimplifier ICE... */ #include "../objc-obj-c++-shared/Object1.h" @interface MyView: Object { int _frame; } - (void)_finalize; @end @interface MyViewTemplate: MyView { void *_className; } - (id)createRealObject; @end @implementation MyViewTemplate - (id)createRealObject { id realObj; *(MyView *)realObj = *(MyView *)self; return realObj; } @end
Go to most recent revision | Compare with Previous | Blame | View Log