1 2 3 4 5 6 7 8 9
// { dg-do assemble } // Bug: g++ doesn't allow const objects to be constructed. struct B { B(); }; const B foo() { return B(); // { dg-bogus "" } constructing const }