1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// PR tree-optimization/37084 // { dg-do compile } // { dg-options "-O" } struct A { A (); }; inline A foo () { return A (); } const A a (foo ());