1 // { dg-do assemble } 2 // prms-id: 9732 3 4 struct foo {}; x()5 foo& x() { return foo(); } // { dg-error "cannot bind non-const lvalue" } 6