Mercurial > projects > ldc
view test/bug17.d @ 138:aeddd4d533b3 trunk
[svn r142] minor fix to dynamic casts.
added a few missed files.
author | lindquist |
---|---|
date | Fri, 18 Jan 2008 20:13:19 +0100 |
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; }