Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access24.C
blob: e633766acd0d0fcdba189908ceb0944ab3f04501 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: forward reference to friend doesn't work in template.
template
<
class
T
>
class
A
{
static
int
i
;
friend
struct
B
;
};
struct
B
{
void
f
()
{
A
<int>
::
i
=
0
;
}
};