I don't think this is a bug, it's bigger than that. There's no question that absolutely nothing is wrong with the code (I think). No idea where to start looking either. I didn't believe it until I looked at this:
Running this gives some obscure number, 2293620. Running it with a short instead of an int changed it to 2293622. stdio.h and stdlib.h are just from the standard templates I had.
int test = 0;
Any hints for what this is all about? I guess I can describe some tech stuff, if it would help.