Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
shadow1.C
blob: 3b67e77752f4024292ec66e9a6aa93e2d3405359 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: g++ thinks that the i in g() shadows the parm from f()
// Contributed by Jason Merrill <jason@cygnus.com>
void
f
(
int
i
)
{
struct
A
{
void
g
()
{
int
i
;
}
};
}