Fix type in the changelog entry,
[official-gcc.git] / gcc / testsuite / g++.dg / ipa / pr65722.C
blobee4ea24c25cfa62ef8051dd6cfc5ae2d80010e79
1 // { dg-do compile }
2 // { dg-options "-O -fipa-icf -fno-rtti" }
4 struct A
6   virtual void f ()
7   {
8     __builtin_abort ();
9   }
10   virtual void g ();
13 struct B : virtual A { };
14 struct C : B, virtual A { };
16 void foo()
18   C c;
19   C *p = &c;
20   p->f ();