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
Merge from mainline.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend29.C
blob
1c0c6f0f765af2eb653897cedd74aa595e2d1742
1
// PR c++/15701
2
3
template<template<int> class T> struct A : T<0>
4
{
5
void foo();
6
template<template<int> class U> friend void A<U>::foo();
7
};
8
9
template<int> struct B {};
10
11
A<B> a;