#include <iostream>

class Foo
{
public:
  void foo()
  {
    std::cout << "hello world" << std::endl;
  }
};

int main()
{
  Foo& foo = *(Foo*)NULL;
  foo.foo();
}