Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
cast5.C
blob: 4e48d1d3c5c446b450882d76e5fb3678cef42f77 [
file
] [
log
] [
blame
]
// PR c++/82360
// { dg-do compile { target c++11 } }
class
a
{};
template
<class>
class
b
{
b
(
b
&&
c
)
:
d
(
static_cast
<
a
&&>(
c
.
d
))
{}
a d
;
};