Mercurial > projects > ldc
view test/bug17.d @ 44:ea65e12b0dd0 trunk
[svn r48] fixed some storage problems
author | lindquist |
---|---|
date | Fri, 19 Oct 2007 16:05:06 +0200 |
parents | |
children |
line wrap: on
line source
module bug17; struct Vec { Vec opAdd(ref Vec b) { return Vec(); } Vec opMul(double a) { return Vec(); } } void main() { Vec foo; Vec bar; auto whee=foo+bar*1f; }