view test/bug17.d @ 110:e8da7856a260 trunk

[svn r114] Implemented the ClassInfo.offTi member.
author lindquist
date Thu, 22 Nov 2007 21:01:01 +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;
}