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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping2.C
blob
cf80da130408e8d02970b546b47ed4a3e201a4a3
1
// { dg-do assemble }
2
// Bug: A function is not hidden properly by a use of its name in an
3
// inner scope.
4
5
struct A
6
{
7
struct B
8
{
9
int f;
10
B() : f(0) {};
11
void g() { f = 0; };
12
};
13
void f();
14
void f(int);
15
};