view test/bug17.d @ 141:8f43f5c43c95 trunk

[svn r145] fixed some x86 problems
author lindquist
date Wed, 23 Jan 2008 12:58:51 +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;
}