summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/duplicate1.C
blob: c9cdab4b932163b80c3d5a3c1b789a5ffb4465e8 (plain)
1
2
3
4
5
6
7
//PR c++/19439

template<int> struct A
{
  ~A() {}	// { dg-error "with" }
  ~A() {}	// { dg-error "cannot be overloaded" }
};