1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* { dg-do compile } */ /* { dg-options "-O" } */ struct gc{}; struct transform:public gc { double x, y, z, t; transform (void){} }; inline transform f (void) { return transform (); }; void transformed (void) { new transform (f()); }