#include <iostream>

class Test {
public:
    void foo() {
        if (!this) {
            std::cout<<"Blah!"<<std::endl;
            return;
        }
        std::cout<<"Foo!"<<std::endl;
    }
};

int main() {
    Test* t = NULL;
    t->foo();
    return 0;
}