Merged r158704 through r158906 into branch.
[official-gcc.git] / gcc / testsuite / g++.dg / template / duplicate1.C
blobc9cdab4b932163b80c3d5a3c1b789a5ffb4465e8
1 //PR c++/19439
3 template<int> struct A
5   ~A() {}       // { dg-error "with" }
6   ~A() {}       // { dg-error "cannot be overloaded" }
7 };