#include <iostream>

class A {
public:
    void foo() {
        std::cout << "Hello from the land of undefined behavior!" << std::endl;
    }
};

int main()
{
    A* a = 0;
    a->foo();
}