summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/dtor3.C
blob: 98c2ef6c18acf6e219b277d289e7f02203a0f881 (plain)
1
2
3
4
// PR c++/19762

template<int> struct A { ~A(){} }; // { dg-error "" }
template A<>::~A(); // { dg-error "template|declaration" }