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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend44.C
blob
a0f63c866ae4fd67841efa00e8cccc4f8fccff15
1
//PR c++/28260
2
3
template<int> struct A
4
{
5
friend int foo(); // { dg-error "new declaration" }
6
};
7
8
void foo() { A<0> a; } // { dg-error "ambiguates old declaration" }