ptrmem1.C   [plain text]


// Build don't link:

class x
{
public:
  virtual int is_constant();
};

void foo()
{
  x* y;
  if (y->is_constant) // ERROR - assuming &
    {
    }
}