Mercurial > projects > ldc
view test/bug2.d @ 33:bc641b23a714 trunk
[svn r37] * Initial support for foreach on static arrays. Not 100% complete
author | lindquist |
---|---|
date | Thu, 04 Oct 2007 22:38:53 +0200 |
parents | 92408a3a2bac |
children |
line wrap: on
line source
module bug2; struct Vec { Vec barf() { return Vec(); } } class test { this(Vec whee) { } } void main() { Vec whee; new test(whee.barf()); }