Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / redecl1.C
blob6fda9d27ac95ad02a6bd83e15fbb557ad19a084f
1 // { dg-do assemble  }
2 class A
4 public:
5     A (const A& ccref);
6     friend A const re (const A& v1); // { dg-error "ambiguates" } 
7 };
9 A // const
10 re (const A& ref) // { dg-error "new declaration" }
12     return A (ref);