Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
access22.C
blob: 9ee28a2a08d3241a6950e5e42d0af9bd4527558c [
file
] [
log
] [
blame
]
template
<
int
I
>
struct
B
{
};
template
<
class
T
>
B
<
T
::
I
>
f
();
class
A
{
static
const
int
I
=
42
;
template
<
class
T
>
friend
B
<
T
::
I
>
f
();
};
int
main
()
{
f
<
A
>();
}