view test/bug17.d @ 78:2332006e1fa4 trunk

[svn r82] Fixed: Fall-through switch cases were broken.
author lindquist
date Wed, 31 Oct 2007 20:50:21 +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;
}