view test/bug17.d @ 166:a2c4dc388d5e trunk

[svn r182] Oups, the PGM output for the raytracer demo was borked.
author lindquist
date Tue, 06 May 2008 00:03:55 +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;
}