Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
cast2.C
blob: 0ce55f035581bdb5bfe37c15eea0e9f3926ef1fc [
file
] [
log
] [
blame
]
// PR c++/56238
class
A
{
template
<
typename
T
>
T
&
get
();
template
<
typename
T
>
class
B
{
void
RemovePoint
(
A
&
value
)
{
static_cast
<
double
>(
value
.
get
<
T
>
());
}
};
};