Mercurial > projects > ldc
view test/foreach6.d @ 69:2b5a2eaa88be trunk
[svn r73] Identity expression for dynamic array and null was broken.
author | lindquist |
---|---|
date | Sun, 28 Oct 2007 04:23:38 +0100 |
parents | 0c77619e803b |
children |
line wrap: on
line source
module foreach6; struct S { long l; float f; } void main() { S[4] arr = void; foreach(i,v;arr) { v = S(i, i*2.5); } }