Mercurial > projects > ldc
view tests/mini/norun_debug5.d @ 739:1ae94fb1dbbd
Fix accidental double-inreg caused by shared TupleType. Enabled inreg by default.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 30 Oct 2008 10:16:37 +0100 |
parents | 24ea9bf5f8b7 |
children | 925779c19395 |
line wrap: on
line source
module mini.norun_debug5; void main() { int i = 32; real r = 3.1415; real* p = &r; func(i,r,p); } void func(int i, real r, real* p) { int* fail; *fail = 666; }