URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [comp-types-9.mm] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */
/* Another gimplifier ICE... */
#include "../objc-obj-c++-shared/TestsuiteObject.h"
@interface MyView: TestsuiteObject {
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