blob: 3b67e77752f4024292ec66e9a6aa93e2d3405359 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { 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;
}
};
}
|