Mercurial > projects > ldc
view test/bug17.d @ 46:6a54b832369a trunk
[svn r50]
author | lindquist |
---|---|
date | Fri, 19 Oct 2007 16:37:34 +0200 |
parents | ea65e12b0dd0 |
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; }