Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
ref6.C
blob: 2e1254ae35b27fc9294ee173034b1730527f6d7b [
file
] [
log
] [
blame
]
// PR c++/53816
template
<
typename
T
>
struct
S
{
int
v
()
const
;
};
template
<
typename
T
>
struct
V
:
public
S
<
T
>
{};
struct
U
{
V
<int>
v
;
template
<
typename
T
>
struct
W
{
W
(
U
const
&
x
)
{
V
<int>
const
&
v
=
x
.
v
;
v
.
v
();
}
};
};