* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / move-return1.C
blobdc2b313fee63e8309d3e570e09ef9213689d4d65
1 // PR c++/80452
2 // { dg-do compile { target c++11 } }
4 template<typename> struct check { };
5 template<typename T> struct check<T&>;
7 struct A {
8   A() = default;
9   A(A&&) = default;
10   A(const A&) = delete;
13 template <class T>
14 struct B {
15   template <class U> B(U&&) { check<U> u; }
18 B<A> f()
20   A a;
21   return a;