blob: 6c00bc0228e39fefaa676b8dbe5c7f4f492d64b9 [file] [log] [blame]
// PR middle-end/17525
struct A
{
~A();
int a;
};
struct B : public A
{
virtual ~B();
};
void run (B& b, B& b1)
{
b1 = b;
}