Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / objc.dg / comp-types-8.m
blobdcf3476c5314cc7d6c57f2095a1ca3c24dc4e296
1 /* { dg-do compile } */
2 /* Another gimplifier ICE... */
4 #include "../objc-obj-c++-shared/TestsuiteObject.h"
6 @interface MyView: TestsuiteObject {
7   int _frame;
9 - (void)_finalize;
10 @end
12 @interface MyViewTemplate: MyView {
13   void *_className;
15 - (id)createRealObject;
16 @end
18 @implementation MyViewTemplate
19 - (id)createRealObject {
20     id realObj;
21     *(MyView *)realObj = *(MyView *)self;
22     return realObj;
24 @end