1 // PR c++/10926 2 3 struct Foo 4 { 5 template <int i> 6 ~Foo(); // { dg-error "5:destructor .Foo::~Foo\\\(\\\)." } 7 }; 8