repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
redecl1.C
blob
0cc528a9307847399b859782c6cade5850325c57
1
// { dg-do assemble }
2
class A
3
{
4
public:
5
A (const A& ccref);
6
friend A const re (const A& v1); // { dg-error "" }
7
};
8
9
A // const
10
re (const A& ref)
11
{ // { dg-error "" } mismatched decls
12
return A (ref);
13
}