// { dg-do assemble } // Origin: Mark Mitchell template struct S { ~S(); }; int i; void f () { i.~S(); // { dg-error "" } invalid destructor call. }