Mercurial > projects > ldc
view test/bug2.d @ 97:c4e161556a21 trunk
[svn r101] Split up CastExp into several smaller utility functions.
author | lindquist |
---|---|
date | Wed, 14 Nov 2007 20:18:01 +0100 |
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()); }