1//PR c++/19439
2
3template<int> struct A
4{
5  ~A() {}	// { dg-error "with" }
6  ~A() {}	// { dg-error "cannot be overloaded" }
7};
8