* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted36.C
blob1360f608e69b9a7d0536a5d12137e79e5f9a4fc8
1 // PR c++/53733
2 // { dg-do compile { target c++11 } }
4 template<typename T>
5 struct wrap
7   wrap() = default;
8   wrap(wrap&&) = default; // Line 5
9   wrap(const wrap&) = default;
11   T t;
14 struct S {
15   S() = default;
16   S(const S&){}
17   S(S&&) = default;
20 typedef wrap<const S> W;
22 W get() { return W(); } // Line 19
24 int main() {}