Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
typedef40.C
blob: 1d8be358a2022a2769b75fd615c0db478408c6bd [
file
] [
log
] [
blame
]
// PR c++/55058
template
<
typename
T
>
struct
A
{
};
template
<
typename
T
>
struct
B
{
B
(
const
A
<
T
>
T
::*
p
);
typedef
A
<
T
>
D
;
};
template
<
typename
T
>
B
<
T
>::
B
(
const
D T
::*
p
)
{
}
struct
C
{
C
()
:
e
()
{};
const
A
<
C
>
e
;
};
B
<
C
>
g
(&
C
::
e
);