Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
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
()
{
}
};