* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / implicit-copy.C
blobd4cd2e88d70e701161e4ddc770763261571b38ed
1 // { dg-do compile { target c++11 } }
2 struct S
4   S();
5 private:
6   S(S const &&);
7   S & operator=(S const &&);
8 };
10 void f()
12   S a;
13   S b(a);                       // { dg-error "deleted" }
14   a = b;                        // { dg-error "deleted" }