2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / redecl1.C
blob0cc528a9307847399b859782c6cade5850325c57
1 // { dg-do assemble  }
2 class A
4 public:
5     A (const A& ccref);
6     friend A const re (const A& v1); // { dg-error "" } 
7 };
9 A // const
10 re (const A& ref)
11 {                               // { dg-error "" } mismatched decls
12     return A (ref);