// PR c++/10926 struct Foo { template ~Foo(); // { dg-error "" } };