blob: 907c6d74501b609cb512ce3365e55be963ca7a8e [file] [log] [blame]
// PR tree-optimization/59355
// { dg-do compile }
// { dg-options "-O2 -fno-devirtualize" }
struct S
{
virtual void bar ();
};
void
foo (S *s)
{
s->bar ();
}