repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend44.C
blob
814fec1d5f70b714fe975e45b70ac96f026db584
1
// { dg-options "-fshow-column" }
2
//PR c++/28260
3
4
template<int> struct A
5
{
6
friend int foo(); // { dg-error "14:new declaration" }
7
};
8
9
void foo() { A<0> a; } // { dg-error "6:ambiguates old declaration" }