Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist23.C
blob: 7e73df06e18e948a20fa85ba15d95ec6e8dc2dbd [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
#include
<initializer_list>
struct
A
{
A
&
operator
=(
int
i
);
A
&
operator
=(
std
::
initializer_list
<int>
l
)
{
return
*
this
;
}
};
int
main
()
{
A a
;
a
=
{
};
}