Mercurial > projects > ldc
view tests/mini/foreach6.d @ 1123:165a920f4e88
Don't set LLVM_REV if it's set on the command line.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Wed, 18 Mar 2009 00:25:36 +0100 |
parents | 30b42a283c8e |
children |
line wrap: on
line source
module mini.foreach6; struct S { long l; float f; } void main() { S[4] arr = void; foreach(i,v;arr) { v = S(i, i*2.5); } }