Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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>
();
}