URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [defaulted29.C] - Rev 783
Compare with Previous | Blame | View Log
// PR c++/46696
// { dg-options -std=c++0x }
struct A
{
A& operator= (A const&);
};
struct B
{
A ar[1];
B& operator= (B const&) = default;
};
int main()
{
B x;
B y;
y = x;
}