Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend29.C
blob: 1c0c6f0f765af2eb653897cedd74aa595e2d1742 [
file
] [
log
] [
blame
]
// PR c++/15701
template
<
template
<int>
class
T
>
struct
A
:
T
<
0
>
{
void
foo
();
template
<
template
<int>
class
U
>
friend
void
A
<
U
>::
foo
();
};
template
<int>
struct
B
{};
A
<
B
>
a
;