blob: 90006720f1d31efb6d8e4a0512d83c62916c4225 [file] [log] [blame]
/* PR ipa/91969 */
/* { dg-options "-fdump-ipa-inline -O3" } */
enum by
{
};
class A
{
public:
class B
{
public:
virtual void m_fn2 (by) = 0;
};
virtual int m_fn1 ();
B *cf;
};
by a;
class C : A, A::B
{
void m_fn2 (by);
};
void C::m_fn2 (by) { cf->m_fn2 (a); }
struct a
{
virtual ~a ();
};
struct b
{
virtual void d (...);
};
struct c : a, b
{
void d (...) {}
};