blob: 753f579dd9a1434a2f9c688512bf8ca993cabad6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// PR tree-optimization/60002
// { dg-do compile }
// { dg-options "-O2 -fcompare-debug -fdeclone-ctor-dtor -fipa-cp-clone" }
struct A {};
struct B : virtual A { B (); ~B (); };
B::~B ()
{
B ();
}
|