blob: ae894d13daf376e1abdef331f94ce058eedfb363 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { 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 */
}
|