#include void printBar() { Foo* foo = new Foo(); std::cout << "bar = " << foo->bar << std::endl; }