blob: de1196a62e196ce10d2c93288f8ec18c8f03b9c5 [file] [log] [blame]
// { dg-do compile }
class A
{
virtual double operator()();
};
class B : A
{
public:
double operator()();
};
extern B a[];
int b = a[0]();