blob: 349ab331d38f2d07fb23d1aef52e46de4702ad20 [file] [log] [blame]
struct base
{
virtual int fn () const;
};
struct sub : public base
{
int fn () const;
};
int
test_1 (base *p)
{
return p->fn ();
}