I'm not a c++ expert, but doesn't
char *myChar = 0;
std::cout << *myChar << std::endl; // runtime error
compile because it's undefined behavior?