rfg13.C   [plain text]


// { dg-do assemble  }
// Bug: g++ does overloading on a function-by-function basis.

void
f ()
{
  void (*fp)(void);
  {
    extern void g ();
  }
  fp = g;	/* { dg-error "" } no 'g' in scope */
}