repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cp/
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping12.C
blob
38915a7ffab5dfe4274986c856cc13918b3e99e1
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
}