Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
pr47589.C
blob: 6bc3c80347dc5da3aa7ae2003eef26f4f85f2e45 [
file
] [
log
] [
blame
]
// PR c++/47589
// { dg-do compile }
struct
F
{
typedef
void
(*
Cb
)();
F
(
Cb
);
};
struct
C
{
template
<
class
D
>
static
void
f
();
};
template
<
class
D
>
struct
TF
:
F
{
TF
()
:
F
(
C
::
f
<
D
>)
{
}
};
struct
DTC
:
TF
<
DTC
>
{
DTC
()
{
}
};