* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / Wunused-parm.C
blob232e484356e22ccc75f4238bcd566f737522a114
1 // PR c++/57211
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wunused-parameter" }
5 template <class T> T&& move(T&);
7 struct A
9   struct B
10   {
11     B& operator=(B&&);
12   };
14   B f;
16   A& operator=(A&& p) = default;
19 int main()
21   A a;
22   A b;
23   b = move(a);