```d
import std;
unittest{
        int[0] callstack;
        (&callstack).writeln;
        (&callstack+1000).writeln;
}
```

this prints the same value twice, I assume its some kind of void replacement, then an optimizer, then related to whatever os memory magic does some math.
  • why is the behav... monkyyy via Digitalmars-d-learn

Reply via email to