summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/crash6.C
blob: 274f3386a2e92d59517bbf5909166d4d50864423 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// Bug: g++ dies on the below.

class A { };
void f ()
{
  A a;
  a.~a();			// { dg-error "" } causes segfault
}