aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/redecl1.C
blob: fecace37af42ff80c62b001243d99a0de1e5acc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class A
{
public:
    A (const A& ccref);
    friend A const re (const A& v1); // ERROR - 
};

A // const
re (const A& ref)
{				// ERROR - mismatched decls
    return A (ref);
}