blob: 86370d5d4024824bf0ba8dbd562a1a0afc91c466 [file] [log] [blame]
// PR c++/25638
struct A { ~A(); };
struct B : A
{
template<int> friend A::~A(); // { dg-error "member template" }
};