dtor2.C   [plain text]


struct Foo
{
    template <int i>
    ~Foo() {} // { dg-error "" }
};

int main()
{
   Foo f;
}