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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ttp28.C
blob
a15dea1e7f81dc9034abdb15925788413d0891e6
1
// PR c++/56971
2
3
template <typename T>
4
class rp {
5
};
6
7
template <template <typename> class P>
8
struct b {
9
template <class, template <typename> class FriendP>
10
friend void f(b<FriendP> from);
11
};
12
13
template <class, template <typename> class P>
14
void f(b<P> from) {
15
}
16
17
int main() {
18
b<rp> v;
19
f<int>(v);
20
return 0;
21
}