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