https://issues.dlang.org/show_bug.cgi?id=20162

Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Walter Bright <[email protected]> ---
A smaller test case:

---
import core.stdc.stdio;

long f(long a) {  return a; }

void main() {
  foreach (i; 1 .. 2) {
  foreach (j; 0 .. 2) {
      printf("%d %d %llx\n", i,
        ((i != 0) ? -1 : +1),
        f((i != 0) ? -1 : +1));
  }
  }
}
---

which prints:

1 -1 ffffffff
1 -1 ffffffff

--

Reply via email to