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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
redecl1.C
blob
6fda9d27ac95ad02a6bd83e15fbb557ad19a084f
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 "ambiguates" }
7
};
8
9
A // const
10
re (const A& ref) // { dg-error "new declaration" }
11
{
12
return A (ref);
13
}