blob: de67c66aed0da1298d5267c9a2a0645ad7cfda0f [file] [log] [blame]
/* Originally PR ipa/91969, options adjusted for PR ipa/92454 */
/* { dg-options "-O3 --param ipa-cp-eval-threshold=1" } */
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 (...) {}
};