blob: 274f3386a2e92d59517bbf5909166d4d50864423 [file] [log] [blame]
// { dg-do assemble }
// Bug: g++ dies on the below.
class A { };
void f ()
{
A a;
a.~a(); // { dg-error "" } causes segfault
}