You are assuming that doing something with undefined behavior is not, itself, an error. :-)