1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// { dg-do assemble } // Here is a net bug class ivAllocation { public: ivAllocation(); int x_; }; class TBScrollBoxInfo { public: ivAllocation allocation_; }; TBScrollBoxInfo* items_; inline TBScrollBoxInfo item() { return items_[0]; }