Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted68.C
blobc8c1261de4253f425180e0e7ab7eab9c0ca92253
1 // PR c++/116162
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options "-Wno-defaulted-function-deleted" }
5 struct C0 {
6   C0(C0&) = default;
7 };
9 struct C1 {
10   C1(volatile C1&) = default;
13 struct C2 {
14   C2(const C2&) = default;
17 struct C3 {
18   C3(const volatile C3&) = default;
21 struct M0 {
22   M0(M0&&) = default;
25 struct M1 {
26   M1(const M1&&) = default;
29 struct M2 {
30   M2(volatile M2&&) = default;
33 struct M3 {
34   M3(const volatile M3&&) = default;