blob: d8b6b4f5cb1ab9e431039b30e0282224c1b65c03 [file] [log] [blame]
struct Foo
{
template <int i>
~Foo() {} // { dg-error "5:destructor .Foo::~Foo\\\(\\\)." }
};
int main()
{
Foo f;
}