(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
opt/
pr60912.C
// { dg-do run }
// { dg-options "-O -fno-inline -fipa-pta" }

struct IFoo
{
  virtual void Foo () = 0;
};

struct Bar:IFoo
{
  void Foo () {}
};

int main ()
{
  (new Bar ())->Foo ();
  return 0;
}