☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
shadow1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/shadow1.C
code
plain
raw
1
// { dg-do assemble }
2
// Bug: g++ thinks that the i in g() shadows the parm from f()
3
// Contributed by Jason Merrill <
[email protected]
>
4
5
void f (int i)
6
{
7
struct A {
8
void g () {
9
int i;
10
}
11
};
12
}