Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr92447.C
blob: f332e80e4f80e78955bc53497257d74c0ab74cda [
file
] [
log
] [
blame
]
// PR c++/92447
// { dg-do compile { target c++11 } }
template
<
typename
T
>
void
foo
()
{
struct
S
{
S
&
operator
=(
S
&&
x
)
=
default
;
const
T s
{};
};
}
void
bar
()
{
foo
<int>
();
}