// { dg-do assemble } // { dg-options "-O1 -Wno-deprecated" } // Copyright (C) 1999, 2000, 2002 Free Software Foundation // by Alexandre Oliva // distilled from libg++'s Integer.cc inline int bar () return r {} // { dg-error "" } int& foo (int& x) { bar (); return x; }