URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
/* Another gimplifier ICE... */
|
/* Another gimplifier ICE... */
|
|
|
#include
|
#include
|
|
|
@interface MyView: Object {
|
@interface MyView: Object {
|
int _frame;
|
int _frame;
|
}
|
}
|
- (void)_finalize;
|
- (void)_finalize;
|
@end
|
@end
|
|
|
@interface MyViewTemplate: MyView {
|
@interface MyViewTemplate: MyView {
|
void *_className;
|
void *_className;
|
}
|
}
|
- (id)createRealObject;
|
- (id)createRealObject;
|
@end
|
@end
|
|
|
@implementation MyViewTemplate
|
@implementation MyViewTemplate
|
- (id)createRealObject {
|
- (id)createRealObject {
|
id realObj;
|
id realObj;
|
*(MyView *)realObj = *(MyView *)self;
|
*(MyView *)realObj = *(MyView *)self;
|
return realObj;
|
return realObj;
|
}
|
}
|
@end
|
@end
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.