Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.other / shadow1.C
blob3b67e77752f4024292ec66e9a6aa93e2d3405359
1 // { dg-do assemble  }
2 // Bug: g++ thinks that the i in g() shadows the parm from f()
3 // Contributed by Jason Merrill <jason@cygnus.com>
5 void f (int i)
7   struct A {
8     void g () {
9       int i;
10     }
11   };