* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / obj-c++.dg / comp-types-9.mm
blob6c571325ad85e1b96215ca8d6616e54514f3f734
1 /* { dg-do compile } */
3 /* Another gimplifier ICE... */
5 #include "../objc-obj-c++-shared/TestsuiteObject.h"
7 @interface MyView: TestsuiteObject {
8   int _frame;
10 - (void)_finalize;
11 @end
13 @interface MyViewTemplate: MyView {
14   void *_className;
16 - (id)createRealObject;
17 @end
19 @implementation MyViewTemplate
20 - (id)createRealObject {
21     id realObj;
22     *(MyView *)realObj = *(MyView *)self;
23     return realObj;
25 @end