1 // PR c++/53096
2 // { dg-do compile { target c++11 } }
3 
4 struct foo
5 {
6   foo(foo&) = default;
7   foo& operator=(foo&) = default;
8 };
9