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 ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend44.C
blob
6ff4db3a3b6939e3636507e225f959375912f52a
1
// { dg-options "-fshow-column" }
2
//PR c++/28260
3
4
template<int> struct A
5
{
6
friend int foo(); // { dg-error "14:ambiguating new declaration" }
7
};
8
9
void foo() { A<0> a; } // { dg-message "6:old declaration" }