Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
non-dependent24.C
blob: 0ddc75c78eea1f475d1490fc9f5c294a9db003dc [
file
] [
log
] [
blame
]
// PR c++/105758
struct
A
{
void
foo
(
int
);
};
template
<class>
struct
Z
:
A
{
static
Z
*
z
;
void
bar
();
};
template
<
class
T
>
Z
<
T
>
*
Z
<
T
>::
z
;
template
<
class
T
>
void
Z
<
T
>::
bar
()
{
z
->
foo
(
0
);
}