Mercurial > projects > ldc
view test/foreach6.d @ 56:3a784f7790d6 trunk
[svn r60] fixed vararg1 test
author | lindquist |
---|---|
date | Wed, 24 Oct 2007 22:26:37 +0200 |
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); } }