Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access24.C
blob: 7c423598723afcf7819b37c63e8a7761b4bc3ce2 [
file
] [
log
] [
blame
]
// Bug: forward reference to friend doesn't work in template.
// Build don't link:
template
<
class
T
>
class
A
{
static
int
i
;
friend
struct
B
;
};
struct
B
{
void
f
()
{
A
<int>
::
i
=
0
;
}
};