* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr71979.C
blobe67eed111ac25e6ea9f9768e2da75266167b9467
1 // PR c++/71979
2 // { dg-do compile { target c++11 } }
4 struct A
5
6   A & operator= (A &);
7 };
9 struct B : A {};   // { dg-error "cannot bind" }
11 void foo ()
12
13   B b;
14   b = B ();  // { dg-error "use of deleted" }