☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping12.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/scoping12.C
code
plain
raw
1
// { dg-do assemble }
2
void f ()
3
{
4
struct A {
5
friend void g (); // { dg-error "without prior local declaration" }
6
};
7
}
8
void h () {
9
g (); // { dg-error "3:'g' was not declared" } no g in scope
10
}