repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend37.C
blob
7c868290660dccc1a27acc0538efb9f6a1a8c836
1
// PR c++/22147
2
3
template<typename> struct A;
4
5
template<typename T> void foo(A<T>* p) { *p; }
6
7
template<typename> struct A
8
{
9
friend void foo<class X>(A<X>*);
10
};
11
12
void bar()
13
{
14
foo<int>(0);
15
}