blob: dcf3476c5314cc7d6c57f2095a1ca3c24dc4e296 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* { 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
|