Reply to Zoran,
Thx, Denis, but I'm still confused. The stack thing was also my first thought. But when I tried to actually explain the dynamics that way, I came to the conclusion that then, test1() shouldn't have worked either.
what might be happening is that test1 is not using up enough stack space to overwrite the arguments.
