This is a bug with top level code and you are essentially running into undefined behavior.
One thread that discusses this: On the behavior of variables in top-level code
1 Like
This is a bug with top level code and you are essentially running into undefined behavior.
One thread that discusses this: On the behavior of variables in top-level code