OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/48261
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend50.C
1
// PR c++/34399
2
template<int> struct X
3
{
4
void foo();
5
};
6
7
struct Y {
8
template<long N> friend void X<N>::X::foo(); // { dg-error "declared as friend" }
9
};